Maroon Colors  ·  Color Library

Palettes / Colors / #CDC40F

#CDC40F — Vivid Yellow

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

#CDC40F 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 #0F19CC; it also sits naturally between #CC640F and #77CC0F. In the palettes below you can see it working alongside real color combinations from our collection.

#CDC40F · RGB 205, 196, 15

Download PNG swatch SVG

Color values

HEX#CDC40F
RGB205, 196, 15
HSL57°, 86%, 43%
HSV57°, 93%, 80%
CMYK0%, 4%, 93%, 20%
XYZ45.00, 52.49, 8.21
Yxy52.49, 0.4257, 0.4966
CIE-Lab77.57, -13.63, 76.83
Hunter Lab72.45, -12.24, 41.59

RGB & CMYK percentages

Red 80% · Green 77% · Blue 6%

Cyan 0% · Magenta 4% · Yellow 93% · Key 20%

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

Previews

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

CSS code for #CDC40F

.text { color: #CDC40F; }
.background { background-color: #CDC40F; }
.border { border: 3px solid #CDC40F; }
.text-rgb { color: rgb(205, 196, 15); }
.text-hsl { color: hsl(57, 86%, 43%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CDC40F; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(205, 196, 15, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CDC40F; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(205, 196, 15, 0.8); }

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

Shades of #CDC40F

#B9B00E#A69E0C#938C0B#807A0A#726D09#5F5A07#4C4806#393604#262403#131201

Tints of #CDC40F

#E4D911#EFE425#F0E73D#F2EA54#F4EE71#F6F188#F8F3A0#FAF6B8#FCFAD4#FEFDEC

Tones of #CDC40F

#BFB71D#B1AA2B#A39E38#969245#898652#7B7960

Color harmonies

Complementary — #0F19CC:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.83:1 Fails
Against black text11.50:1 AAA

Best text color on #CDC40F: #000000.

Semi-transparent (opacity) text on #CDC40F

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

How #CDC40F looks with color blindness

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

Protanopia · #C9C93BDeuteranopia · #CACA45Tritanopia · #CD5D65

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 Lime 500 · #CDDC39Material Amber 500 · #FFC107

Palettes with a similar color

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

Smoky Ruby Bloom
#CBC019 · #C1EE6C · #86E866 · #44DF5C
Palette 8e1d41
#8E1D41 · #DBBF0D · #FFCD19 · #FFEFB4
Modern Ruby Marble
#C3C61D · #23DCDF · #CA1DC6 · #F3F1CE
Radiant Drift
#9F112B · #B35422 · #CDB519 · #588313
Electric Zephyr
#168C8F · #B41CB1 · #C3C71F · #A7E8E4
Mellow Aurora
#17A296 · #D644E4 · #D8C81F · #A7E9DE

Similar colors

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

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

Browse neighbouring colors

← #CDC40E  ·  #CDC410 →

Frequently asked questions

What color is #CDC40F?

#CDC40F is Vivid Yellow, a yellow color (RGB 205, 196, 15). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #CDC40F?

#CDC40F is RGB 205, 196, 15 — HSL 57°, 86%, 43% — CMYK 0%, 4%, 93%, 20%.

What colors go with #CDC40F?

Its complement is #0F19CC; analogous partners are #CC640F and #77CC0F. It also appears in 6+ palettes in our collection.

Can I use #CDC40F for text?

Black text on #CDC40F has a contrast ratio of 11.50:1 (passes WCAG AA); white text gives 1.83:1.