Maroon Colors  ·  Color Library

Palettes / Colors / #CCD12E

#CCD12E — Yellow

#CCD12E is a yellow color we call 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 #CCD12E 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.

#CCD12E 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 #332ED1; it also sits naturally between #D1852E and #7AD12E. In the palettes below you can see it working alongside real color combinations from our collection.

#CCD12E · RGB 204, 209, 46

Download PNG swatch SVG

Color values

HEX#CCD12E
RGB204, 209, 46
HSL62°, 64%, 50%
HSV62°, 78%, 82%
CMYK2%, 0%, 78%, 18%
XYZ48.20, 58.64, 11.36
Yxy58.64, 0.4078, 0.4961
CIE-Lab81.09, -19.78, 73.24
Hunter Lab76.57, -17.85, 42.20

RGB & CMYK percentages

Red 80% · Green 82% · Blue 18%

Cyan 2% · Magenta 0% · Yellow 78% · Key 18%

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

Previews

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

CSS code for #CCD12E

.text { color: #CCD12E; }
.background { background-color: #CCD12E; }
.border { border: 3px solid #CCD12E; }
.text-rgb { color: rgb(204, 209, 46); }
.text-hsl { color: hsl(62, 64%, 50%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CCD12E; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(204, 209, 46, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CCD12E; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(204, 209, 46, 0.8); }

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

Shades of #CCD12E

#B7BC29#A7AB26#939721#82861D#6E7119#5A5C14#494B11#35360C#252608#101104

Tints of #CCD12E

#D1D643#D5D954#DADE68#DEE279#E3E68E#E8EBA3#EDEEB4#F2F3C9#F6F7D9#FBFBEE

Tones of #CCD12E

#C1C639#B6BA45#ACAF50#A0A25D#959669#8A8B74

Color harmonies

Complementary — #332ED1:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.65:1 Fails
Against black text12.73:1 AAA

Best text color on #CCD12E: #000000.

Semi-transparent (opacity) text on #CCD12E

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

How #CCD12E looks with color blindness

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

Protanopia · #CECE55Deuteranopia · #CECD5FTritanopia · #CC757B

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:

Material Lime 500 · #CDDC39Tailwind yellow 500 · #EAB308Material Yellow 500 · #FFEB3B

Palettes with a similar color

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

Dreamy Ruby Drift
#E21ACB · #AC2246 · #DB6421 · #D0CD2D
Dusty Ruby Canyon
#BF144C · #DD4530 · #E9BB7D · #CACF27
Crystal Saffron
#CF3E38 · #D99B4B · #C3D02B · #88D256
Burning Bloom
#751C26 · #93462B · #927033 · #CACE37
Wild Ruby Breeze
#F2F0D4 · #D3CD64 · #D2CA32 · #A19B26
Modern Ruby Bloom
#F0F4C8 · #C9DA2A · #919D20 · #3C410B

Similar colors

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

#D0CD2D#CACF27#C3D02B#CACE37#D2CA32#C9DA2A#D2D929#CDC733#D7CA2D#D5C828#BED32C#C9D020

Browse neighbouring colors

← #CCD12D  ·  #CCD12F →

Frequently asked questions

What color is #CCD12E?

#CCD12E is Yellow, a yellow color (RGB 204, 209, 46). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #CCD12E?

#CCD12E is RGB 204, 209, 46 — HSL 62°, 64%, 50% — CMYK 2%, 0%, 78%, 18%.

What colors go with #CCD12E?

Its complement is #332ED1; analogous partners are #D1852E and #7AD12E. It also appears in 6+ palettes in our collection.

Can I use #CCD12E for text?

Black text on #CCD12E has a contrast ratio of 12.73:1 (passes WCAG AA); white text gives 1.65:1.