100% free no uploads no sign-up

dark khaki color code

The hex code for dark khaki is #BDB76B, which is rgb(189, 183, 107) in RGB and cmyk(0%, 3%, 43%, 26%) in CMYK. It's a medium, moderately saturated yellow. It is a built-in CSS colour, so you can also write it as “darkkhaki”.

#BDB76Bdark khaki
White text: 2.06:1 ✗Black text: 10.14:1 ✓ AANearest name: dark khaki

Move the sliders to find a lighter, darker or softer dark khaki; the codes update as you go.

Dark Khaki colour codes

HEX#BDB76B
RGBrgb(189, 183, 107)
HSLhsl(56, 38%, 58%)
HSV / HSBhsv(56, 43%, 74%)
CMYKcmyk(0%, 3%, 43%, 26%)
Decimal12433259
CSS keyworddarkkhaki

About dark khaki

Dark Khaki sits at a hue of 56° on the colour wheel, with 38% saturation and 58% lightness. That makes it a warm colour: warm colours feel energetic and inviting and appear to come forward on a page.

For text, black reads better on dark khaki. Dark Khaki as text on a white background has a contrast ratio of 2.06:1, which fails the WCAG AA rule for body text (4.5:1) and fails the 3:1 rule for large text. On black it is 10.14:1, which passes AA for body text.

Tints and shades of dark khaki

Tints mix dark khaki with white and shades mix it with black, in 10% steps. They're the easiest way to get lighter backgrounds and darker hover or text colours that still match.

#F8F8F0#F2F1E1#EBE9D3#E5E2C4#DEDBB5#D7D4A6#D1CD97#CAC589#C4BE7A
dark khaki #BDB76B
#AAA560#979256#84804B#716E40#5F5C36#4C492B#393720#262515#13120B

Colours that go with dark khaki

Complementary — opposite on the colour wheel: maximum contrast

#BDB76B#6B71BD

Analogous — neighbours 30° either side: calm and natural

#BD8E6B#BDB76B#9ABD6B

Triadic — three hues 120° apart: lively but balanced

#BDB76B#6BBDB7#B76BBD

Split complementary — the two neighbours of the complement: contrast with less tension

#BDB76B#6B9ABD#8E6BBD

Tetradic — four hues 90° apart: rich, use one as the main colour

#BDB76B#6BBD8E#6B71BD#BD6B9A

Dark Khaki text contrast

CombinationRatioAA normal (4.5:1)AA large (3:1)AAA (7:1)
dark khaki on white2.06:1failfailfail
dark khaki on black10.14:1passpasspass

Check dark khaki against any other colour in the contrast checker.

How dark khaki looks with colour blindness

Simulated with the Machado et al. (2009) model for the complete loss of one type of cone cell. Colour vision deficiency affects roughly 1 in 12 men and 1 in 200 women, most often as red-green colour blindness.

normal #BDB76Bprotanopia #C3B265deuteranopia #C5B66Etritanopia #C8AEA5

Use dark khaki in code

.dark-khaki {
  color: darkkhaki;
  background-color: #bdb76b;
  border-color: rgb(189, 183, 107);
}

Frequently asked questions

What is the hex code for dark khaki?

Dark Khaki is #BDB76B (lowercase #bdb76b). It's the official value of the CSS keyword “darkkhaki”.

What is dark khaki in RGB, HSL and CMYK?

RGB: rgb(189, 183, 107). HSL: hsl(56, 38%, 58%). CMYK: cmyk(0%, 3%, 43%, 26%). CMYK is a simple conversion for reference; for professional printing, ask your printer for a matching ink or Pantone swatch.

What colours go with dark khaki?

Its complementary colour is #6B71BD (close to royal blue), which gives the strongest contrast. For a calmer look, use the analogous colours #BD8E6B and #9ABD6B, or the triadic pair #6BBDB7 and #B76BBD. Tints and shades of dark khaki itself always work together.

Is dark khaki a warm or cool colour?

Dark Khaki has a hue of 56°, which makes it warm.

Should I use black or white text on dark khaki?

Black. Black text on dark khaki has a contrast ratio of 10.14:1 and white text has 2.06:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.

How do I use dark khaki in CSS?

Write color: darkkhaki; or color: #bdb76b; — both give the same colour. Named colours work in every browser.

Colours similar to dark khaki