Darkkhaki — #BDB76B
#BDB76B is a medium, moderately saturated yellow. It is the CSS named color darkkhaki.
Color values
| HEX | #BDB76B |
| RGB | rgb(189, 183, 107) |
| HSL | hsl(56, 38%, 58%) |
| CMYK | cmyk(0%, 3%, 43%, 26%) |
| Decimal | 12433259 |
| CSS | color: #BDB76B; |
| Android | 0xFFBDB76B |
| Swift | UIColor(red: 0.741, green: 0.718, blue: 0.420, alpha: 1) |
Accessibility and contrast
| White text on #BDB76B | 2.07:1 — AA fail · AA large fail · AAA fail |
| Black text on #BDB76B | 10.15:1 — AA pass · AA large pass · AAA pass |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #BDB76B
Each swatch keeps the hue and saturation of #BDB76B and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #BDB76B
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #BDB76B in code
/* CSS */
.element { color: #BDB76B; background-color: #BDB76B; }
.element { color: rgb(189 183 107); }
.element { color: hsl(56 38% 58%); }
/* Tailwind arbitrary value */
<div class="bg-[#BDB76B] text-black">
/* SCSS variable */
$brand: #BDB76B;
Frequently asked questions
What color is #BDB76B?
#BDB76B is a medium, moderately saturated yellow, which CSS calls darkkhaki. Its hue sits at 56° on the color wheel, with 38% saturation and 58% lightness.
What is #BDB76B in RGB?
#BDB76B converts to rgb(189, 183, 107) — 189 red, 183 green and 107 blue.
What is #BDB76B in CMYK?
Approximately cmyk(0%, 3%, 43%, 26%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #BDB76B be white or black?
Black gives the better contrast ratio (10.15:1 versus 2.07:1).
What is the complementary color of #BDB76B?
#6B71BD — the hue directly opposite #BDB76B on the color wheel.