Dark goldenrod color (#B8860B)
#B8860B (Dark goldenrod) is a vivid orange colour. It is rgb(184, 134, 11) in RGB and hsl(43, 89%, 38%) in HSL. Text in black reads better on it: the contrast is 6.45:1 against black and 3.25: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{#B8860B}:\quad R=\mathrm{B8}_{16}=184,\ G=\mathrm{86}_{16}=134,\ B=\mathrm{0B}_{16}=11 - 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.
43^\circ + 180^\circ = 223^\circ ;\Rightarrow; \mathrm{#0B3DB8} - 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{#B8860B} = \mathrm{rgb}(184, 134, 11) \]
\[ \mathrm{#B8860B}:\quad R=\mathrm{B8}_{16}=184,\ G=\mathrm{86}_{16}=134,\ B=\mathrm{0B}_{16}=11 \]
\[ H=43^\circ,\quad S=89\%,\quad L=38\% \]
\[ 43^\circ + 180^\circ = 223^\circ ;\Rightarrow; \mathrm{#0B3DB8} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 3.25:1\ \text{(on white)} \]Dark goldenrod in every colour format
| Format | Value |
|---|---|
| HEX | #B8860B |
| RGB | rgb(184, 134, 11) |
| RGB (percent) | rgb(72.2%, 52.5%, 4.3%) |
| HSL | hsl(43, 89%, 38%) |
| HSV / HSB | hsv(43, 94%, 72%) |
| CMYK | cmyk(0%, 27%, 94%, 28%) |
| Decimal | 12092939 |
| Description | vivid orange |
| CSS name | darkgoldenrod |
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 | 3.25:1 | fail | pass | fail | fail |
| Black text | 6.45:1 | pass | pass | fail | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #1F1602 #3D2D04 #5C4306 #7B5907 #997009 |
| This colour | #B8860B |
| Tints (mixed with white) | #C49A34 #D0AE5C #DCC385 #E7D7AE #F3EBD6 |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #9A8700 | 15 |
| Deuteranopia | #A69416 | 16 |
| Tritanopia | #C97772 | 51 |
| Grayscale | #8F8F8F | - |
Nearest named colours
| Name | Hex |
|---|---|
| Goldenrod | #DAA520 |
| Peru | #CD853F |
| Olive | #808000 |
| Sandy brown | #F4A460 |
Questions
What is the RGB value of #B8860B?
rgb(184, 134, 11): red 184, green 134, blue 11.
What is the HSL value of #B8860B?
hsl(43, 89%, 38%): a hue of 43°, 89% saturation and 38% lightness.
What is the complementary colour of #B8860B?
#0B3DB8, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #4779F4.
Should I use white or black text on #B8860B?
Black. White gives 3.25:1 and black 6.45:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #B8860B?
cmyk(0%, 27%, 94%, 28%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #B8860B a named colour?
Yes: it is the CSS colour name "darkgoldenrod".