Toolman

darkkhaki — #BDB76B

#BDB76B

rgb(189, 183, 107) · hsl(56, 38%, 58%) · CSS keyword darkkhaki

Can you put text on it?

ContrastBody textLarge text
darkkhaki on white2.07:1
darkkhaki on black10.15:1AAAA

As a background, darkkhaki takes black text: 10.15:1 against 2.07:1 the other way. A colour picker will give you the hex and stop there, which is why so many palettes look right and fail an accessibility audit.

Using it

color: darkkhaki;
color: #bdb76b;
color: rgb(189 183 107);

All three are the same colour. The keyword is one of the 141 CSS named colours — a list settled in CSS 2.1 and added to exactly once since, when rebeccapurple was standardised in 2014.

Colours close to darkkhaki

Frequently asked questions

What is the hex code for darkkhaki?

The hex code for darkkhaki is #BDB76B — RGB 189, 183, 107.

Can I use darkkhaki for text?

Not on a white background. darkkhaki reaches only 2.07:1, and WCAG AA asks for 4.5:1. It works as a background or a border, not as ink.

Should text on darkkhaki be black or white?

Black — 10.15:1 against 2.07:1 the other way.

Other named colours

#BDB76B in full — tints, shades and harmonies · All named colours · Colour reference