Maroon Colors  ·  Color Library

Palettes / Colors / #D2BB45

#D2BB45 — Yellow

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

#D2BB45 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 #465ED2; it also sits naturally between #D27546 and #A4D246. In the palettes below you can see it working alongside real color combinations from our collection.

#D2BB45 · RGB 210, 187, 69

Download PNG swatch SVG

Color values

HEX#D2BB45
RGB210, 187, 69
HSL50°, 61%, 55%
HSV50°, 67%, 82%
CMYK0%, 11%, 67%, 18%
XYZ45.42, 49.67, 12.82
Yxy49.67, 0.4209, 0.4603
CIE-Lab75.87, -5.07, 60.36
Hunter Lab70.48, -4.60, 36.04

RGB & CMYK percentages

Red 82% · Green 73% · Blue 27%

Cyan 0% · Magenta 11% · Yellow 67% · Key 18%

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

Previews

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

CSS code for #D2BB45

.text { color: #D2BB45; }
.background { background-color: #D2BB45; }
.border { border: 3px solid #D2BB45; }
.text-rgb { color: rgb(210, 187, 69); }
.text-hsl { color: hsl(50, 61%, 55%); }
.text-shadow-hex { text-shadow: 4px 4px 2px #D2BB45; }
.text-shadow-rgba { text-shadow: 4px 4px 2px rgba(210, 187, 69, 0.8); }
.box-shadow-hex { box-shadow: 1px 1px 3px 2px #D2BB45; }
.box-shadow-rgba { box-shadow: 1px 1px 3px 2px rgba(210, 187, 69, 0.8); }

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

Shades of #D2BB45

#CDB332#B9A12D#A48F28#907E23#7B6C1E#635618#4E4413#39320E#252009#100E04

Tints of #D2BB45

#D6C157#DAC767#DECD78#E2D388#E7DB9C#EBE1AD#EFE7BD#F3EDCE#F7F3DE#FBF9EF

Tones of #D2BB45

#C8B451#BFAE5A#B4A764#AAA06E#A09979#979382

Color harmonies

Complementary — #465ED2:

Analogous:

Triadic:

Contrast & accessibility

Against white text1.92:1 Fails
Against black text10.93:1 AAA

Best text color on #D2BB45: #000000.

Semi-transparent (opacity) text on #D2BB45

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

How #D2BB45 looks with color blindness

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

Protanopia · #C8C862Deuteranopia · #C9CB68Tritanopia · #D1787D

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 Yellow 500 · #FFEB3B

Palettes with a similar color

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

Smoky Harbor
#1B347B · #6D95DF · #D6B146 · #EBE8BD
Vintage Ruby Solace
#8F4319 · #DEBA41 · #CCE74F · #59AE1E
Crimson Ruby Saffron
#1E429B · #3F63D9 · #DCB34C · #ECD7B9
Vintage Petal
#BF3446 · #553014 · #C6C441 · #3D661A
Frozen Cascade
#B85741 · #B67D2F · #CBC63C · #B9D586
Velvet Mosaic
#CB0807 · #D75910 · #DEBD50 · #F2E19E

Similar colors

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

#D6B146#DEBA41#DCB34C#C6C441#CBC63C#DEBD50#D3AF37#C0B949#C8C74F#DAC652#D9AA40#E5BA41

Browse neighbouring colors

← #D2BB44  ·  #D2BB46 →

Frequently asked questions

What color is #D2BB45?

#D2BB45 is Yellow, a yellow color (RGB 210, 187, 69). Its closest standard named color is DarkKhaki.

What is the RGB and HSL of #D2BB45?

#D2BB45 is RGB 210, 187, 69 — HSL 50°, 61%, 55% — CMYK 0%, 11%, 67%, 18%.

What colors go with #D2BB45?

Its complement is #465ED2; analogous partners are #D27546 and #A4D246. It also appears in 6+ palettes in our collection.

Can I use #D2BB45 for text?

Black text on #D2BB45 has a contrast ratio of 10.93:1 (passes WCAG AA); white text gives 1.92:1.