Dark khaki color (#BDB76B)
#BDB76B (Dark khaki) is a muted yellow colour. It is rgb(189, 183, 107) in RGB and hsl(56, 38%, 58%) in HSL. Text in black reads better on it: the contrast is 10.15:1 against black and 2.07:1 against white.
How to work it out
- 1
A hex code is three pairs of base-16 digits: red, green and blue, from 00 (none) to FF (full).
\mathrm{#BDB76B}:\quad R=\mathrm{BD}_{16}=189,\ G=\mathrm{B7}_{16}=183,\ B=\mathrm{6B}_{16}=107 - 2
HSL describes the same colour as a hue angle on the colour wheel (0° red, 120° green, 240° blue), a saturation and a lightness.
- 3
The complementary colour sits opposite on the wheel: add 180° to the hue.
56^\circ + 180^\circ = 236^\circ ;\Rightarrow; \mathrm{#6B71BD} - 4
Contrast is the ratio of the lighter to the darker relative luminance, each plus 0.05. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text (AA).
LaTeX source of the formulas on this page
\[ \mathrm{#BDB76B} = \mathrm{rgb}(189, 183, 107) \]
\[ \mathrm{#BDB76B}:\quad R=\mathrm{BD}_{16}=189,\ G=\mathrm{B7}_{16}=183,\ B=\mathrm{6B}_{16}=107 \]
\[ H=56^\circ,\quad S=38\%,\quad L=58\% \]
\[ 56^\circ + 180^\circ = 236^\circ ;\Rightarrow; \mathrm{#6B71BD} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 2.07:1\ \text{(on white)} \]Dark khaki in every colour format
| Format | Value |
|---|---|
| HEX | #BDB76B |
| RGB | rgb(189, 183, 107) |
| RGB (percent) | rgb(74.1%, 71.8%, 42.0%) |
| HSL | hsl(56, 38%, 58%) |
| HSV / HSB | hsv(56, 43%, 74%) |
| CMYK | cmyk(0%, 3%, 43%, 26%) |
| Decimal | 12433259 |
| Description | muted yellow |
| CSS name | darkkhaki |
Text contrast (WCAG)
| Background of this colour with… | Contrast | AA normal (4.5) | AA large (3) | AAA normal (7) | AAA large (4.5) |
|---|---|---|---|---|---|
| White text | 2.07:1 | fail | fail | fail | fail |
| Black text | 10.15:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #1F1E12 #3F3D24 #5F5C36 #7E7A47 #9E9959 |
| This colour | #BDB76B |
| Tints (mixed with white) | #C8C384 #D3CF9C #DEDBB5 #E9E7CE #F4F3E6 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #C3B265 | 5 |
| Deuteranopia | #C5B66E | 4 |
| Tritanopia | #C8AEA5 | 35 |
| Grayscale | #B4B4B4 | - |
Nearest named colours
| Name | Hex |
|---|---|
| Khaki | #F0E68C |
| Burlywood | #DEB887 |
| Pale goldenrod | #EEE8AA |
| Tan | #D2B48C |
Questions
What is the RGB value of #BDB76B?
rgb(189, 183, 107): red 189, green 183, blue 107.
What is the HSL value of #BDB76B?
hsl(56, 38%, 58%): a hue of 56°, 38% saturation and 58% lightness.
What is the complementary colour of #BDB76B?
#6B71BD, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #424894.
Should I use white or black text on #BDB76B?
Black. White gives 2.07:1 and black 10.15:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #BDB76B?
cmyk(0%, 3%, 43%, 26%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #BDB76B a named colour?
Yes: it is the CSS colour name "darkkhaki".