Description
Darkkhaki has a hue of 56°, saturation 38% and lightness 58%, which places it in the yellow family. The "dark" prefix is part of the CSS name, but CSS names are not systematic: for example darkgray (#A9A9A9) is lighter than gray (#808080).
Using darkkhaki in CSS
.title { color: darkkhaki; }
.box { background: darkkhaki; border-color: #bdb76b; }
.soft { background: rgb(189 183 107 / 20%); } /* darkkhaki at 20% opacity */Named colors are case-insensitive and supported by every browser. Most of the 148 names come from the X11 color list adopted by early browsers.
Similar named colors
| Color | HEX | RGB | ΔE 2000 |
|---|---|---|---|
| khaki | #f0e68c | 240, 230, 140 | 11.7 |
| tan | #d2b48c | 210, 180, 140 | 12.3 |
| palegoldenrod | #eee8aa | 238, 232, 170 | 12.4 |
| burlywood | #deb887 | 222, 184, 135 | 12.9 |
| yellowgreen | #9acd32 | 154, 205, 50 | 13.8 |
| wheat | #f5deb3 | 245, 222, 179 | 14.5 |
| goldenrod | #daa520 | 218, 165, 32 | 14.6 |
| darkseagreen | #8fbc8f | 143, 188, 143 | 15.6 |
ΔE 2000 measures perceived difference: under 2 is hard to tell apart, over 10 is clearly different.
Pairs well with
Readability
Contrast with white text: 2.07:1; with black text: 10.15:1. Black body text on darkkhaki meets WCAG AA; white text does not.