Maroon Colors  ·  Color Library

Palettes / Colors / #CDCD1A

#CDCD1A — Yellow

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

#CDCD1A 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 #1A1ACB; it also sits naturally between #CB731A and #73CB1A. In the palettes below you can see it working alongside real color combinations from our collection.

#CDCD1A · RGB 205, 205, 26

Download PNG swatch SVG

Color values

HEX#CDCD1A
RGB205, 205, 26
HSL60°, 77%, 45%
HSV60°, 87%, 80%
CMYK0%, 0%, 87%, 20%
XYZ47.19, 56.72, 9.44
Yxy56.72, 0.4164, 0.5004
CIE-Lab80.02, -17.95, 77.04
Hunter Lab75.31, -16.16, 42.77

RGB & CMYK percentages

Red 80% · Green 80% · Blue 10%

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

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

Previews

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

CSS code for #CDCD1A

.text { color: #CDCD1A; }
.background { background-color: #CDCD1A; }
.border { border: 3px solid #CDCD1A; }
.text-rgb { color: rgb(205, 205, 26); }
.text-hsl { color: hsl(60, 77%, 45%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CDCD1A; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(205, 205, 26, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CDCD1A; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(205, 205, 26, 0.8); }

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

Shades of #CDCD1A

#B9B918#A7A716#959513#838311#71710F#5A5A0C#484809#363607#242405#121202

Tints of #CDCD1A

#E2E21D#E5E534#E8E84A#EAEA61#EEEE7C#F1F193#F4F4A9#F7F7C0#FAFAD6#FDFDED

Tones of #CDCD1A

#BEBE27#B2B234#A5A540#99994D#8C8C5A#7F7F66

Color harmonies

Complementary — #1A1ACB:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #CDCD1A: #000000.

Semi-transparent (opacity) text on #CDCD1A

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

How #CDCD1A looks with color blindness

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

Protanopia · #CDCD45Deuteranopia · #CDCD50Tritanopia · #CD686F

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

Palettes with a similar color

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

Electric Ruby Voyage
#DBE156 · #C9D020 · #616511 · #43460C
Cosmic Ruby Summit
#9C2125 · #663118 · #916A1C · #D0D41F
Vintage Ruby Mirage
#1EBBC8 · #DC20CE · #C5D21F · #C9ECF1
Modern Ruby Marble
#C3C61D · #23DCDF · #CA1DC6 · #F3F1CE
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:

#C9D020#D0D41F#C5D21F#C3C61D#C3C71F#D8C81F#CBC019#CACF27#D4D713#D3C526#C6DA20#D5C828

Browse neighbouring colors

← #CDCD19  ·  #CDCD1B →

Frequently asked questions

What color is #CDCD1A?

#CDCD1A is Yellow, a yellow color (RGB 205, 205, 26). Its closest standard named color is GoldenRod.

What is the RGB and HSL of #CDCD1A?

#CDCD1A is RGB 205, 205, 26 — HSL 60°, 77%, 45% — CMYK 0%, 0%, 87%, 20%.

What colors go with #CDCD1A?

Its complement is #1A1ACB; analogous partners are #CB731A and #73CB1A. It also appears in 6+ palettes in our collection.

Can I use #CDCD1A for text?

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