Dark khaki #BDB76B
Dark khaki is one of the named colours in CSS, written darkkhaki. Black text reaches 10.15:1 on it, enough for body text.
Try on walls Preview on a website
Colour codes
| CSS keyword | darkkhaki |
|---|---|
| HEX | #BDB76B |
| RGB | rgb(189 183 107) |
| HSL | hsl(56 38% 58%) |
| OKLCH | oklch(76.7% 0.098 104.5) |
| White text | 2.07:1 · body text AA Fail |
| Black text | 10.15:1 · body text AA Pass |
Colours that go with Dark khaki
The closest colour in Sanzo Wada's A Dictionary of Color Combinations is Pyrite Yellow (#CAB356), close. These are the colours Wada paired it with, ranked by their contrast with Dark khaki itself.
| Colour | HEX | Contrast with Dark khaki | Body text AA |
|---|---|---|---|
| Black | #111314 | 9.01:1 | Pass |
| Raw Sienna | #BB7125 | 1.84:1 | Fail |
| Peach Red | #F15A30 | 1.63:1 | Fail |
| Nile Blue | #BCE4E5 | 1.51:1 | Fail |
| Light Brown Drab | #B59392 | 1.34:1 | Fail |
| Pale King's Blue | #A7D4E4 | 1.30:1 | Fail |
| Sea Green | #00B49B | 1.27:1 | Fail |
| Glaucous Green | #B4CDC2 | 1.23:1 | Fail |
| Eosine Pink | #F37F94 | 1.23:1 | Fail |
| Calamine BLue | #78CDD0 | 1.13:1 | Fail |
Palettes with Pyrite Yellow
Shades and tints of Dark khaki
Nine lightness steps in OKLCH that keep the hue of Dark khaki. Chroma is reduced only where sRGB cannot show it.
- 100#FFF9AC
- 200#EEE99B
- 300#D7D285
- 400#BBB569
- 500#9C954A
- 600#7B7427
- 700#5E5700
- 800#413C00
- 900#262300
:root {
--darkkhaki-100: #FFF9AC;
--darkkhaki-200: #EEE99B;
--darkkhaki-300: #D7D285;
--darkkhaki-400: #BBB569;
--darkkhaki-500: #9C954A;
--darkkhaki-600: #7B7427;
--darkkhaki-700: #5E5700;
--darkkhaki-800: #413C00;
--darkkhaki-900: #262300;
}
Text that keeps Dark khaki on screen
Text #262300 on #BDB76B reaches 7.67:1, which passes WCAG AA for body text. Check it on a dashboard