CSS named color
DarkKhaki Color Code
DarkKhaki is a medium, moderately saturated yellow with the hex code #BDB76B. In RGB it is rgb(189, 183, 107), in HSL hsl(56, 38%, 58%) and in CMYK cmyk(0%, 3%, 43%, 26%).
Color values
In CSS you can write it as the keyword darkkhaki.
White text on DarkKhaki has a contrast ratio of 2.07:1 and black text 10.15:1, so black text is the more readable choice.
The closest Tailwind CSS color is Yellow 500 (#EAB308).
Use DarkKhaki in CSS
.element {
color: darkkhaki;
background-color: #bdb76b;
border-color: rgb(189, 183, 107);
} Tints and shades of DarkKhaki
Ten steps from light to dark at the same hue. Click any swatch to copy it.
Colors that go with DarkKhaki
Color-wheel harmonies built from #BDB76B. Click a swatch to copy it or open the set in the color wheel.
Split complementary
Open in color wheelA base plus the two neighbors of its complement — contrast with less tension.
Text contrast on DarkKhaki
Colors similar to DarkKhaki
Closest CSS named colors
Closest traditional Chinese colors
Closest Tailwind colors
Palettes with similar colors
Questions about DarkKhaki
What is the hex code for DarkKhaki?
The hex code for DarkKhaki is #BDB76B. Its RGB value is rgb(189, 183, 107) and its HSL value is hsl(56, 38%, 58%).
What colors go with DarkKhaki?
The complementary color of DarkKhaki is #6B71BD. For a softer scheme try the analogous colors #BD8E6B and #99BD6B; for a balanced three-color scheme use the triadic colors #6BBDB7 and #B76BBD.
Is DarkKhaki readable as a text color?
On a white background DarkKhaki has a contrast ratio of 2.07:1, which does not pass WCAG AA for normal text (4.5:1). On black it reaches 10.15:1.