Maroon Colors  ·  Color Library

Palettes / Colors / #D4CB4E

#D4CB4E — Yellow

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

#D4CB4E 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 #4E57D4; it also sits naturally between #D4884E and #9AD44E. In the palettes below you can see it working alongside real color combinations from our collection.

#D4CB4E · RGB 212, 203, 78

Download PNG swatch SVG

Color values

HEX#D4CB4E
RGB212, 203, 78
HSL56°, 61%, 57%
HSV56°, 63%, 83%
CMYK0%, 4%, 63%, 17%
XYZ49.88, 57.26, 15.63
Yxy57.26, 0.4063, 0.4664
CIE-Lab80.33, -11.88, 61.36
Hunter Lab75.67, -10.88, 38.01

RGB & CMYK percentages

Red 83% · Green 80% · Blue 31%

Cyan 0% · Magenta 4% · Yellow 63% · Key 17%

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

Previews

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

CSS code for #D4CB4E

.text { color: #D4CB4E; }
.background { background-color: #D4CB4E; }
.border { border: 3px solid #D4CB4E; }
.text-rgb { color: rgb(212, 203, 78); }
.text-hsl { color: hsl(56, 61%, 57%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #D4CB4E; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(212, 203, 78, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #D4CB4E; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(212, 203, 78, 0.8); }

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

Shades of #D4CB4E

#CFC53A#BDB32E#A8A029#948C24#7F791F#676119#524E14#3E3A0F#252309#101004

Tints of #D4CB4E

#D8D05F#DCD56F#E0DA80#E4DF90#E8E3A1#EBE7AD#EFECBD#F3F1CE#F7F5DE#FBFAEF

Tones of #D4CB4E

#CAC358#C2BB61#B8B36B#AEAA75#A4A27F#9B9A87

Color harmonies

Complementary — #4E57D4:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.69:1 Fails
Against black text12.45:1 AAA

Best text color on #D4CB4E: #000000.

Semi-transparent (opacity) text on #D4CB4E

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

How #D4CB4E looks with color blindness

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

Protanopia · #D0D06CDeuteranopia · #D1D174Tritanopia · #D48489

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

Rustic Ruby Zephyr
#A427AC · #D8D051 · #48D6CD · #DCB4E5
Honey Ember
#E2D483 · #DAC652 · #908028 · #484014
Burning Opal
#9F5325 · #D6C756 · #A4CB66 · #5EC652
Velvet Ruby Solace
#9B2544 · #CB7546 · #D8D351 · #528D28
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#DAC652#D6C756#D8D351#DBD44F#C8C74F#CECB5A#CECE5A#E2D050#C5CE4C#E0C658#DEBD50

Browse neighbouring colors

← #D4CB4D  ·  #D4CB4F →

Frequently asked questions

What color is #D4CB4E?

#D4CB4E is Yellow, a yellow color (RGB 212, 203, 78). Its closest standard named color is DarkKhaki.

What is the RGB and HSL of #D4CB4E?

#D4CB4E is RGB 212, 203, 78 — HSL 56°, 61%, 57% — CMYK 0%, 4%, 63%, 17%.

What colors go with #D4CB4E?

Its complement is #4E57D4; analogous partners are #D4884E and #9AD44E. It also appears in 6+ palettes in our collection.

Can I use #D4CB4E for text?

Black text on #D4CB4E has a contrast ratio of 12.45:1 (passes WCAG AA); white text gives 1.69:1.