Maroon Colors  ·  Color Library

Palettes / Colors / #CDCD0C

#CDCD0C — Vivid Yellow

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

#CDCD0C 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 #0C0CCF; it also sits naturally between #CF6E0C and #6ECF0C. In the palettes below you can see it working alongside real color combinations from our collection.

#CDCD0C · RGB 205, 205, 12

Download PNG swatch SVG

Color values

HEX#CDCD0C
RGB205, 205, 12
HSL60°, 89%, 43%
HSV60°, 94%, 80%
CMYK0%, 0%, 94%, 20%
XYZ47.07, 56.67, 8.80
Yxy56.67, 0.4183, 0.5035
CIE-Lab79.99, -18.16, 79.02
Hunter Lab75.28, -16.35, 43.26

RGB & CMYK percentages

Red 80% · Green 80% · Blue 5%

Cyan 0% · Magenta 0% · Yellow 94% · Key 20%

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

Previews

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

CSS code for #CDCD0C

.text { color: #CDCD0C; }
.background { background-color: #CDCD0C; }
.border { border: 3px solid #CDCD0C; }
.text-rgb { color: rgb(205, 205, 12); }
.text-hsl { color: hsl(60, 89%, 43%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CDCD0C; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(205, 205, 12, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CDCD0C; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(205, 205, 12, 0.8); }

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

Shades of #CDCD0C

#BCBC0B#A9A90A#959509#828208#747407#606006#4D4D04#3A3A03#272702#131301

Tints of #CDCD0C

#E7E70D#F2F221#F3F339#F5F551#F7F76E#F8F887#F9F99F#FBFBB7#FCFCD4#FEFEEC

Tones of #CDCD0C

#C1C11A#B4B427#A6A636#979744#898952#7C7C5F

Color harmonies

Complementary — #0C0CCF:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.70:1 Fails
Against black text12.33:1 AAA

Best text color on #CDCD0C: #000000.

Semi-transparent (opacity) text on #CDCD0C

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

How #CDCD0C looks with color blindness

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

Protanopia · #CDCD3BDeuteranopia · #CDCD46Tritanopia · #CD6068

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

Scarlet Marble
#D4D713 · #B2E963 · #6EE750 · #10C133
Smoky Ruby Bloom
#CBC019 · #C1EE6C · #86E866 · #44DF5C
Palette 8e1d41
#8E1D41 · #DBBF0D · #FFCD19 · #FFEFB4
Cosmic Ruby Summit
#9C2125 · #663118 · #916A1C · #D0D41F
Electric Ruby Voyage
#DBE156 · #C9D020 · #616511 · #43460C
Modern Ruby Marble
#C3C61D · #23DCDF · #CA1DC6 · #F3F1CE

Similar colors

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

#D4D713#CBC019#DBBF0D#D0D41F#C9D020#C3C61D#C5D21F#C3C71F#D8C81F#BEDB16#E1C817#BBDC12

Browse neighbouring colors

← #CDCD0B  ·  #CDCD0D →

Frequently asked questions

What color is #CDCD0C?

#CDCD0C is Vivid Yellow, a yellow color (RGB 205, 205, 12). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #CDCD0C?

#CDCD0C is RGB 205, 205, 12 — HSL 60°, 89%, 43% — CMYK 0%, 0%, 94%, 20%.

What colors go with #CDCD0C?

Its complement is #0C0CCF; analogous partners are #CF6E0C and #6ECF0C. It also appears in 6+ palettes in our collection.

Can I use #CDCD0C for text?

Black text on #CDCD0C has a contrast ratio of 12.33:1 (passes WCAG AA); white text gives 1.70:1.