Dark Khaki color: hex #bdb76b, RGB and HSL
Dark Khaki is the CSS keyword darkkhaki, hex #bdb76b, rgb(189, 183, 107), hsl(56, 38%, 58%). It is a medium, muted yellow in the yellows family. Below: the colors that go with it, its tints and shades, how it reads as text, and a complete interface palette built from it.
- CSS name
- darkkhaki
- Hex
- #bdb76b
- RGB
- rgb(189, 183, 107)
- HSL
- hsl(56, 38%, 58%)
- On white
- 2.07:1 — fails AA; use as a fill, not text
- On black
- 10.15:1 — passes AA for body text
.example {
color: darkkhaki; /* keyword */
color: #bdb76b; /* hex */
color: rgb(189, 183, 107); /* rgb */
color: hsl(56, 38%, 58%); /* hsl */
}What colors go with dark khaki
Each match keeps dark khaki's saturation and lightness and rotates only the hue, so the relationship is the wheel's and nothing else. Any of these can be an accent beside dark khaki as the primary; the harmony guides explain which rule suits which interface.
Complementary
The opposite hue, 180° away — the strongest contrast, best kept to one accent per screen.
Split-complementary
The two neighbors of the complement, at 150° and 210° — most of the contrast with less tension, and two accents instead of one.
Triadic
Two hues at 120° and 240° — three evenly spaced signals, the scheme charts and category colors want.
Analogous
The neighbors at −30° and +30° — calm and cohesive, with emphasis coming from weight and size rather than hue.
Tints and shades of dark khaki
Tints add lightness toward white; shades remove it toward black. The hue and saturation stay fixed, so every step still reads as dark khaki — these are the hover, pressed, disabled and surface variants a single brand color needs.
Tints (lighter)
Shades (darker)
A UI color palette built from dark khaki
The eight semantic roles an interface actually uses, derived from dark khaki as the primary with the split-complementary rule: secondary and accent rotate around the wheel, and the five neutrals take the hue at lightness steps tuned for light and dark mode. This is the same derivation the palette generator runs — open it there to change the rule, drag the anchors, or export the set as CSS variables.
- primary
- #bdb76b
- secondary
- #6b9abd
- accent
- #8e6bbd
- background
- #fdfdfc
- surface
- #f6f6f4
- text
- #1f1f14
- muted
- #848261
- border
- #e9e9e2
- primary
- #bdb76b
- secondary
- #6b9abd
- accent
- #8e6bbd
- background
- #181810
- surface
- #242419
- text
- #f6f6f4
- muted
- #b0af9b
- border
- #43412d
Using dark khaki in an interface
Pure yellow fails contrast against white for text at every size, so it belongs on dark surfaces or as a fill with dark text. The creams are excellent warm page backgrounds; the khakis are muted enough for borders and tags. Whichever role dark khaki takes, define it once as a token rather than repeating the keyword: the semantic palette guide covers the eight roles, and the guides to complementary, triadic and the other color schemes explain how to weight the matches above.
- What is the hex code for Dark Khaki?
- Dark Khaki is #bdb76b. In CSS the keyword darkkhaki, the hex #bdb76b, rgb(189, 183, 107) and hsl(56, 38%, 58%) all paint the same color.
- What colors go with Dark Khaki?
- Its complement is #6b71bd, the split-complementary pair is #6b9abd and #8e6bbd, the triadic partners are #6bbdb7 and #b76bbd, and the analogous neighbors are #bd8e6b and #9abd6b. In an interface, use Dark Khaki for most colored elements and one of these for a single accent, at roughly an 80/20 split.
- What is the opposite of Dark Khaki on the color wheel?
- The opposite (complementary) color is #6b71bd, the same saturation and lightness rotated 180° around the HSL wheel. Complementary pairs give the strongest contrast, which is why the complement should be used sparingly rather than at equal weight.
- Can I use Dark Khaki for text?
- Dark Khaki as text on white has a contrast ratio of 2.07:1, which fails WCAG AA for body text (4.5:1) and for large text (3:1). On black it is 10.15:1, which passes for body text. Use it as text on dark surfaces, or as a fill with dark text on top.