#BDB76B — Dark Khaki

Dark Khaki is the CSS named color #BDB76B — rgb(189, 183, 107), hsl(56, 38%, 58%). Its relative luminance is 0.457, giving 2.07:1 against white and 10.15:1 against black, so it works as a text color on black.

Dark Khaki in every notation

HEX#BDB76B
RGBrgb(189, 183, 107)
HSLhsl(56, 38%, 58%)
Relative luminance0.4575
Contrast on white2.07:1 AA fail
Contrast on black10.15:1 AA pass

Tints and shades of darkkhaki

#F5F4E9
#E8E6CB
#D7D4A6
#C9C486
#BDB76B
#A19C5B
#817C49
#5F5C36
#3C3B22

Built by mixing darkkhaki toward white (four steps) and toward black (four steps) while keeping the hue. Use the shades generator for a different step count or to add harmony sets.

Similar CSS colors

Closest by CIELAB distance (ΔE76). For perceptual matching in a design system, compare in OKLab before locking a token.

Frequently asked questions

What is the hex code for darkkhaki?

darkkhaki is #BDB76B, which is rgb(189, 183, 107) and hsl(56, 38%, 58%). It is one of the 148 CSS named colors defined by the CSS Color Module Level 4.

Is darkkhaki light or dark?

Dark Khaki has a relative luminance of 0.457 on a 0–1 scale, so it is a dark color. Against white it scores 2.07:1; against black, 10.15:1.

Can I use darkkhaki for text?

darkkhaki reaches 10.15:1 against black, which clears WCAG 2.2 AA for normal text (4.5:1) at any size.