darkkhaki — #BDB76B
#BDB76B
rgb(189, 183, 107) · hsl(56, 38%, 58%) · CSS keyword darkkhaki
Can you put text on it?
| Contrast | Body text | Large text | |
|---|---|---|---|
| darkkhaki on white | 2.07:1 | — | — |
| darkkhaki on black | 10.15:1 | AA | AA |
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
- tan — #D2B48C
- burlywood — #DEB887
- darkgray — #A9A9A9
- darkseagreen — #8FBC8F
- silver — #C0C0C0
- yellowgreen — #9ACD32
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
- darkmagenta — #8B008B
- darkolivegreen — #556B2F
- darkorange — #FF8C00
- darkorchid — #9932CC
- darkred — #8B0000
- darksalmon — #E9967A
- darkseagreen — #8FBC8F
- darkslateblue — #483D8B
- darkslategray — #2F4F4F
- darkturquoise — #00CED1
- darkviolet — #9400D3
- deeppink — #FF1493
#BDB76B in full — tints, shades and harmonies · All named colours · Colour reference