Dark Khaki color (#BDB76B)
Dark Khaki is one of the 148 CSS named colors. Use the keyword darkkhaki
anywhere CSS accepts a color, or its hex code #BDB76B, which is rgb(189, 183, 107) in RGB.
It is a light, moderately saturated warm color with a hue angle of 56° on the HSL color wheel and a perceived lightness of 77% in OKLCH. On a dark khaki background, black text gives the higher contrast at 10.14:1, which passes WCAG AA for normal text.
Dark Khaki color codes
| CSS name | darkkhaki |
|
|---|---|---|
| HEX | #BDB76B |
|
| HEX (8-digit) | #BDB76BFF |
|
| RGB | rgb(189, 183, 107) |
|
| HSL | hsl(56, 38%, 58%) |
|
| HSV / HSB | hsv(56, 43%, 74%) |
|
| OKLCH | oklch(76.7% 0.098 104.5) |
|
| CMYK | cmyk(0%, 3.2%, 43.4%, 25.9%) |
Contrast with white and black
WCAG 2 contrast ratios and APCA lightness contrast (Lc) for dark khaki used as text and as a background.
Tints and shades of dark khaki
Tints mix dark khaki with white; shades mix it with black, in 10% steps. Click a swatch to copy it, or build custom scales in the tint & shade generator.
Tints
Shades
Colors that go with dark khaki
Harmonies calculated on the HSL color wheel. Explore more in the color scheme generator.
Complementary
Analogous
Triadic
Split-Complementary
Dark Khaki with color blindness
Approximately how dark khaki appears with each type of color vision deficiency. Test full designs with the color blindness simulator.
Using dark khaki in CSS
.element {
color: darkkhaki;
background-color: #bdb76b;
border-color: rgb(189 183 107 / 50%);
outline-color: oklch(76.7% 0.098 104.5);
}Similar named colors
See all shades of yellow or browse every CSS color name.