Maroon Colors  ·  Color Library

Palettes / Colors / #D2CD4F

#D2CD4F — Yellow

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

#D2CD4F 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 #5155D2; it also sits naturally between #D28D51 and #96D251. In the palettes below you can see it working alongside real color combinations from our collection.

#D2CD4F · RGB 210, 205, 79

Download PNG swatch SVG

Color values

HEX#D2CD4F
RGB210, 205, 79
HSL58°, 59%, 57%
HSV58°, 62%, 82%
CMYK0%, 2%, 62%, 18%
XYZ49.82, 57.93, 15.95
Yxy57.93, 0.4027, 0.4683
CIE-Lab80.70, -13.66, 61.29
Hunter Lab76.11, -12.48, 38.12

RGB & CMYK percentages

Red 82% · Green 80% · Blue 31%

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

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

Previews

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

CSS code for #D2CD4F

.text { color: #D2CD4F; }
.background { background-color: #D2CD4F; }
.border { border: 3px solid #D2CD4F; }
.text-rgb { color: rgb(210, 205, 79); }
.text-hsl { color: hsl(58, 59%, 57%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #D2CD4F; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(210, 205, 79, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #D2CD4F; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(210, 205, 79, 0.8); }

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

Shades of #D2CD4F

#CDC83C#BBB630#A6A22B#928E26#7E7B20#65631A#514F15#3D3B10#242409#101004

Tints of #D2CD4F

#D6D261#DAD771#DFDB81#E3E092#E7E5A2#EAE8AE#EEEDBE#F2F1CE#F7F6DF#FBFAEF

Tones of #D2CD4F

#C9C659#BFBC63#B7B46C#ADAB76#A4A37F#9A9A89

Color harmonies

Complementary — #5155D2:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.67:1 Fails
Against black text12.59:1 AAA

Best text color on #D2CD4F: #000000.

Semi-transparent (opacity) text on #D2CD4F

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

How #D2CD4F looks with color blindness

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

Protanopia · #D0D06DDeuteranopia · #D0D175Tritanopia · #D2868B

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

Rustic Ruby Zephyr
#A427AC · #D8D051 · #48D6CD · #DCB4E5
Velvet Ruby Solace
#9B2544 · #CB7546 · #D8D351 · #528D28
Burning Opal
#9F5325 · #D6C756 · #A4CB66 · #5EC652
Honey Ember
#E2D483 · #DAC652 · #908028 · #484014
Radiant Ruby Aurora
#25B6AF · #B126B9 · #DBD44F · #B9E8E8
Vivid Ruby Solace
#C57C3A · #C8C74F · #6BA338 · #46AB4A

Similar colors

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

#D8D051#D8D351#D6C756#DAC652#DBD44F#C8C74F#CECE5A#CECB5A#C5CE4C#C8D559#E2D050#E0C658

Browse neighbouring colors

← #D2CD4E  ·  #D2CD50 →

Frequently asked questions

What color is #D2CD4F?

#D2CD4F is Yellow, a yellow color (RGB 210, 205, 79). Its closest standard named color is DarkKhaki.

What is the RGB and HSL of #D2CD4F?

#D2CD4F is RGB 210, 205, 79 — HSL 58°, 59%, 57% — CMYK 0%, 2%, 62%, 18%.

What colors go with #D2CD4F?

Its complement is #5155D2; analogous partners are #D28D51 and #96D251. It also appears in 6+ palettes in our collection.

Can I use #D2CD4F for text?

Black text on #D2CD4F has a contrast ratio of 12.59:1 (passes WCAG AA); white text gives 1.67:1.