Swatchproof

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 keyworddarkkhaki
HEX#BDB76B
RGBrgb(189 183 107)
HSLhsl(56 38% 58%)
OKLCHoklch(76.7% 0.098 104.5)
White text2.07:1 · body text AA Fail
Black text10.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.

ColourHEXContrast with Dark khakiBody text AA
Black#1113149.01:1Pass
Raw Sienna#BB71251.84:1Fail
Peach Red#F15A301.63:1Fail
Nile Blue#BCE4E51.51:1Fail
Light Brown Drab#B593921.34:1Fail
Pale King's Blue#A7D4E41.30:1Fail
Sea Green#00B49B1.27:1Fail
Glaucous Green#B4CDC21.23:1Fail
Eosine Pink#F37F941.23:1Fail
Calamine BLue#78CDD01.13:1Fail

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.

: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

Similar CSS colours