Maroon Colors  ·  Color Library

Palettes / Colors / #D2CD64

#D2CD64 — Yellow

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

#D2CD64 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 #656AD2; it also sits naturally between #D29665 and #A1D265. In the palettes below you can see it working alongside real color combinations from our collection.

#D2CD64 · RGB 210, 205, 100

Download PNG swatch SVG

Color values

HEX#D2CD64
RGB210, 205, 100
HSL57°, 55%, 61%
HSV57°, 52%, 82%
CMYK0%, 2%, 52%, 18%
XYZ50.71, 58.28, 20.63
Yxy58.28, 0.3912, 0.4496
CIE-Lab80.90, -12.13, 52.19
Hunter Lab76.34, -11.13, 34.54

RGB & CMYK percentages

Red 82% · Green 80% · Blue 39%

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

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

Previews

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

CSS code for #D2CD64

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

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

Shades of #D2CD64

#CBC54D#C6BF39#AEA832#96912C#827E26#6B671F#535018#3B3911#28260B#100F05

Tints of #D2CD64

#D7D275#DAD681#DFDB90#E2DF9C#E7E4AC#EAE8B8#EFEDC8#F2F1D4#F7F6E3#FAFAEF

Tones of #D2CD64

#CAC66D#C2BE75#BAB77D#B3B184#ABAA8C#A4A394

Color harmonies

Complementary — #656AD2:

Analogous:

Triadic:

Contrast & accessibility

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

Best text color on #D2CD64: #000000.

Semi-transparent (opacity) text on #D2CD64

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

How #D2CD64 looks with color blindness

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

Protanopia · #D0D07DDeuteranopia · #D0D184Tritanopia · #D29196

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

Wild Ruby Breeze
#F2F0D4 · #D3CD64 · #D2CA32 · #A19B26
Hidden Mosaic
#AA5131 · #E4BB79 · #D4D167 · #A2D43F
Palette E32249
#E32249 · #F17362 · #DDDC92 · #D8C962
Palette 454040
#454040 · #605B51 · #D8D365 · #E6F082
Palette Cece5a
#CECE5A · #FFE17B · #FD8D14 · #C51605
Frozen Ruby Lagoon
#76272D · #C8956C · #CECB5A · #7BBF37

Similar colors

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

#D3CD64#D4D167#D8C962#D8D365#CECE5A#CECB5A#D6D46D#D9D36D#D6D85D#D9D46F#D6C756#C9D46F

Browse neighbouring colors

← #D2CD63  ·  #D2CD65 →

Frequently asked questions

What color is #D2CD64?

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

What is the RGB and HSL of #D2CD64?

#D2CD64 is RGB 210, 205, 100 — HSL 57°, 55%, 61% — CMYK 0%, 2%, 52%, 18%.

What colors go with #D2CD64?

Its complement is #656AD2; analogous partners are #D29665 and #A1D265. It also appears in 6+ palettes in our collection.

Can I use #D2CD64 for text?

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