Maroon Colors  ·  Color Library

Palettes / Colors / #CDCF52

#CDCF52 — Yellow

#CDCF52 is a yellow color we call Yellow, closest to the named color DarkKhaki (#BDB76B). It belongs to the yellow family.

Color name

Closest CSS keyword: darkkhaki (#BDB76B) — not an exact match. CSS darkkhaki gives you #BDB76B, a different color; use #CDCF52 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.

#CDCF52 is a warm yellow color associated with optimism, attention and cheer. It sits comfortably in the middle: usable for large areas in soft schemes, or as a supporting color beside something stronger.

Its strongest partner is its complement #5553D0; it also sits naturally between #D09353 and #8FD053. In the palettes below you can see it working alongside real color combinations from our collection.

#CDCF52 · RGB 205, 207, 82

Download PNG swatch SVG

Color values

HEX#CDCF52
RGB205, 207, 82
HSL61°, 57%, 57%
HSV61°, 60%, 81%
CMYK1%, 0%, 60%, 19%
XYZ49.01, 58.21, 16.64
Yxy58.21, 0.3957, 0.4700
CIE-Lab80.86, -16.54, 60.08
Hunter Lab76.30, -15.02, 37.72

RGB & CMYK percentages

Red 80% · Green 81% · Blue 32%

Cyan 1% · Magenta 0% · Yellow 60% · Key 19%

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

Previews

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

CSS code for #CDCF52

.text { color: #CDCF52; }
.background { background-color: #CDCF52; }
.border { border: 3px solid #CDCF52; }
.text-rgb { color: rgb(205, 207, 82); }
.text-hsl { color: hsl(61, 57%, 57%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #CDCF52; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(205, 207, 82, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #CDCF52; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(205, 207, 82, 0.8); }

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

Shades of #CDCF52

#C8CA3F#B6B832#A2A42D#8E9027#7B7C22#63641B#4F5016#3B3C10#24240A#101004

Tints of #CDCF52

#D2D463#D7D973#DCDD83#E0E193#E5E6A3#E8E9AF#EDEDBF#F1F2CF#F6F6DF#FAFBEF

Tones of #CDCF52

#C5C75C#BDBE64#B4B66D#ABAC77#A2A380#9A9A89

Color harmonies

Complementary — #5553D0:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.66:1 Fails
Against black text12.64:1 AAA

Best text color on #CDCF52: #000000.

Semi-transparent (opacity) text on #CDCF52

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

How #CDCF52 looks with color blindness

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

Protanopia · #CECE70Deuteranopia · #CECE78Tritanopia · #CD888D

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 · #CDDC39Material Yellow 500 · #FFEB3BMaterial Light Green 500 · #8BC34A

Palettes with a similar color

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

Palette Cece5a
#CECE5A · #FFE17B · #FD8D14 · #C51605
Frozen Ruby Lagoon
#76272D · #C8956C · #CECB5A · #7BBF37
Vivid Ruby Solace
#C57C3A · #C8C74F · #6BA338 · #46AB4A
Gentle Bloom
#30A6AE · #CF52C7 · #C5CE4C · #D8EFED
Smoky Ruby Orchard
#B73733 · #D29C7A · #9A8032 · #C8D559
Rustic Ruby Zephyr
#A427AC · #D8D051 · #48D6CD · #DCB4E5

Similar colors

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

#CECE5A#CECB5A#C8C74F#C5CE4C#C8D559#D8D051#D8D351#D6C756#DBD44F#DAC652#D6D85D#BED754

Browse neighbouring colors

← #CDCF51  ·  #CDCF53 →

Frequently asked questions

What color is #CDCF52?

#CDCF52 is Yellow, a yellow color (RGB 205, 207, 82). Its closest standard named color is DarkKhaki.

What is the RGB and HSL of #CDCF52?

#CDCF52 is RGB 205, 207, 82 — HSL 61°, 57%, 57% — CMYK 1%, 0%, 60%, 19%.

What colors go with #CDCF52?

Its complement is #5553D0; analogous partners are #D09353 and #8FD053. It also appears in 6+ palettes in our collection.

Can I use #CDCF52 for text?

Black text on #CDCF52 has a contrast ratio of 12.64:1 (passes WCAG AA); white text gives 1.66:1.