Maroon Colors  ·  Color Library

Palettes / Colors / #CDC002

#CDC002 — Vivid Yellow

#CDC002 is a yellow color we call Vivid Yellow, closest to the named color GoldenRod (#DAA520). It belongs to the yellow family.

Color name

Closest CSS keyword: goldenrod (#DAA520) — not an exact match. CSS goldenrod gives you #DAA520, a different color; use #CDC002 when you need this exact shade.

Sources: common names follow widely used color-name references; CSS keywords and their hex values follow the CSS Color specification.

#CDC002 is a warm yellow color associated with optimism, attention and cheer. It is saturated enough to be the accent — buttons, highlights and calls to action — while neutrals do the quiet work around it.

Its strongest partner is its complement #0210CF; it also sits naturally between #CF5B02 and #76CF02. In the palettes below you can see it working alongside real color combinations from our collection.

#CDC002 · RGB 205, 192, 2

Download PNG swatch SVG

Color values

HEX#CDC002
RGB205, 192, 2
HSL56°, 98%, 41%
HSV56°, 99%, 80%
CMYK0%, 6%, 99%, 20%
XYZ44.04, 50.68, 7.52
Yxy50.68, 0.4307, 0.4957
CIE-Lab76.49, -11.75, 77.41
Hunter Lab71.19, -10.53, 41.22

RGB & CMYK percentages

Red 80% · Green 75% · Blue 1%

Cyan 0% · Magenta 6% · Yellow 99% · Key 20%

CMYK values are unprofiled approximations for screen reference — not a print-proofing guarantee.

Previews

Sample text in #CDC002 on black
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sample text in #CDC002 on white
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

CSS code for #CDC002

.text { color: #CDC002; }
.background { background-color: #CDC002; }
.border { border: 3px solid #CDC002; }
.text-rgb { color: rgb(205, 192, 2); }
.text-hsl { color: hsl(56, 98%, 41%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CDC002; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(205, 192, 2, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CDC002; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(205, 192, 2, 0.8); }

HTML: <p style="color:#CDC002">Text here</p> · <div style="background-color:#CDC002">Div content here</div>

Shades of #CDC002

#BBAE02#ACA002#978D02#837B01#746C01#605A01#4C4701#383401#282600#141300

Tints of #CDC002

#EDDE02#FDED0D#FDEF2B#FDF144#FDF362#FEF57C#FEF79A#FEF9B3#FFFCD2#FFFDEB

Tones of #CDC002

#C0B511#B2A81F#A39B2E#948F3D#86824B#77755A

Color harmonies

Complementary — #0210CF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.89:1 Fails
Against black text11.14:1 AAA

Best text color on #CDC002: #000000.

Semi-transparent (opacity) text on #CDC002

Text set with opacity blends into the background, so its real contrast is lower than the solid ratios above. Choose a text color and an opacity to see the blended color and its true ratio:

100%
Sample heading text
Smaller body text shows the effect best.

Blended color: · Contrast against #CDC002: ·

How #CDC002 looks with color blindness

Simulated with standard Machado color-vision-deficiency matrices — useful when this color carries meaning in charts, maps or interfaces:

Protanopia · #C7C730Deuteranopia · #C8C93BTritanopia · #CC545C

Closest design-system colors

The nearest matches in the Tailwind CSS, Material Design and Bootstrap palettes — handy when you need a framework class instead of a raw hex:

Tailwind yellow 500 · #EAB308Material Amber 500 · #FFC107Bootstrap warning · #FFC107

Palettes with a similar color

These palettes use a close neighbour of #CDC002 rather than the exact color:

Palette 8e1d41
#8E1D41 · #DBBF0D · #FFCD19 · #FFEFB4
Smoky Ruby Bloom
#CBC019 · #C1EE6C · #86E866 · #44DF5C
Smoky Terrace
#C72E07 · #D7B013 · #F3DC66 · #EBE5AE
Radiant Drift
#9F112B · #B35422 · #CDB519 · #588313
Modern Ruby Marble
#C3C61D · #23DCDF · #CA1DC6 · #F3F1CE
Scarlet Marble
#D4D713 · #B2E963 · #6EE750 · #10C133

Similar colors

The closest colors that actually appear in our palette collection — click any to open its page:

#DBBF0D#CBC019#D7B013#CDB519#C3C61D#D4D713#E1C817#CCB51E#CAB31E#C3C71F#D8C81F#BFA815

Browse neighbouring colors

← #CDC001  ·  #CDC003 →

Frequently asked questions

What color is #CDC002?

#CDC002 is Vivid Yellow, a yellow color (RGB 205, 192, 2). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #CDC002?

#CDC002 is RGB 205, 192, 2 — HSL 56°, 98%, 41% — CMYK 0%, 6%, 99%, 20%.

What colors go with #CDC002?

Its complement is #0210CF; analogous partners are #CF5B02 and #76CF02. It also appears in 6+ palettes in our collection.

Can I use #CDC002 for text?

Black text on #CDC002 has a contrast ratio of 11.14:1 (passes WCAG AA); white text gives 1.89:1.