Maroon Colors  ·  Color Library

Palettes / Colors / #CDC004

#CDC004 — Vivid Yellow

#CDC004 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 #CDC004 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.

#CDC004 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 #0412CD; it also sits naturally between #CD5B04 and #76CD04. In the palettes below you can see it working alongside real color combinations from our collection.

#CDC004 · RGB 205, 192, 4

Download PNG swatch SVG

Color values

HEX#CDC004
RGB205, 192, 4
HSL56°, 96%, 41%
HSV56°, 98%, 80%
CMYK0%, 6%, 98%, 20%
XYZ44.05, 50.69, 7.58
Yxy50.69, 0.4305, 0.4954
CIE-Lab76.49, -11.73, 77.20
Hunter Lab71.19, -10.51, 41.18

RGB & CMYK percentages

Red 80% · Green 75% · Blue 2%

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

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

Previews

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

CSS code for #CDC004

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

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

Shades of #CDC004

#B9AD04#AA9F03#968C03#827903#736B02#5F5902#4B4602#373301#282501#141300

Tints of #CDC004

#EBDC05#FAEA0F#FBED2D#FBEF46#FCF264#FCF47D#FDF69B#FDF9B4#FEFBD2#FFFDEB

Tones of #CDC004

#BEB313#B1A720#A29A2F#938E3E#85814C#77755A

Color harmonies

Complementary — #0412CD:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #CDC004: #000000.

Semi-transparent (opacity) text on #CDC004

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 #CDC004: ·

How #CDC004 looks with color blindness

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

Protanopia · #C7C731Deuteranopia · #C8C93CTritanopia · #CC555D

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 #CDC004 rather than the exact color:

Palette 8e1d41
#8E1D41 · #DBBF0D · #FFCD19 · #FFEFB4
Smoky Ruby Bloom
#CBC019 · #C1EE6C · #86E866 · #44DF5C
Radiant Drift
#9F112B · #B35422 · #CDB519 · #588313
Smoky Terrace
#C72E07 · #D7B013 · #F3DC66 · #EBE5AE
Modern Ruby Marble
#C3C61D · #23DCDF · #CA1DC6 · #F3F1CE
Dreamy Petal
#1A2EAF · #7468E8 · #CCB51E · #EFECB4

Similar colors

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

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

Browse neighbouring colors

← #CDC003  ·  #CDC005 →

Frequently asked questions

What color is #CDC004?

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

What is the RGB and HSL of #CDC004?

#CDC004 is RGB 205, 192, 4 — HSL 56°, 96%, 41% — CMYK 0%, 6%, 98%, 20%.

What colors go with #CDC004?

Its complement is #0412CD; analogous partners are #CD5B04 and #76CD04. It also appears in 6+ palettes in our collection.

Can I use #CDC004 for text?

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