#BDB76BDarkkhaki is a moderately saturated, mid-toned warm yellow (#BDB76B).
Darkkhaki is a mid-toned, moderately saturated take on yellow. Colors in this range are commonly associated with optimism, caution and visibility, which makes darkkhaki a natural fit for highlights, warning states and youthful, energetic branding.
Darkkhaki is bright enough that it pairs better with dark text than white: black type on darkkhaki hits 10.15:1 — comfortably past the WCAG AA threshold — while white manages only 2.07:1. It shines as a section background, card fill or subtle highlight where a full-strength accent would shout.
For pairings, the complement of darkkhaki sits at 236° — #6B71BD, close to cornflowerblue — and delivers the strongest possible hue contrast; use it sparingly, in roughly a 90/10 split, so the two don't fight. For calmer schemes, the analogous colors 30° to either side keep the same warm temperature, while the triadic pair gives you a balanced three-color palette. All of these are computed for darkkhaki in the palettes below, with copy-ready codes.
Every palette below is computed from darkkhaki's position on the color wheel (hue 56°). Hover any swatch to see its code; click to copy.
Tints mix darkkhaki toward white; shades mix it toward black. Use the scale for hover states, borders and depth without leaving the hue.
WCAG 2.1 requires 4.5:1 for normal text (AA) and 3:1 for large text. Here's how darkkhaki performs, plus how it appears under the three main types of dichromatic color blindness (simulated approximation).
| Pairing | Ratio | Normal text | Large text |
|---|---|---|---|
| White text on Darkkhaki | 2.07:1 | Fail | Fail |
| Black text on Darkkhaki | 10.15:1 | AAA | AAA |
#BABA7D#BBBB82#BD8C8FCopy-ready snippets. In CSS you can also use the keyword darkkhaki directly.
:root {
--darkkhaki: #BDB76B;
--darkkhaki-rgb: 189, 183, 107;
--darkkhaki-tint: #DBD7AE;
--darkkhaki-shade: #68653B;
}
.btn-darkkhaki {
background: var(--darkkhaki);
color: #000000;
}
// tailwind.config.js
colors: {
'darkkhaki': {
DEFAULT: '#BDB76B',
light: '#DBD7AE',
dark: '#68653B',
},
}
The closest CSS named colors by perceptual (Lab) distance.