Goldenrod color (#DAA520)
#DAA520 (Goldenrod) is a orange colour. It is rgb(218, 165, 32) in RGB and hsl(43, 74%, 49%) in HSL. Text in black reads better on it: the contrast is 9.38:1 against black and 2.24: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{#DAA520}:\quad R=\mathrm{DA}_{16}=218,\ G=\mathrm{A5}_{16}=165,\ B=\mathrm{20}_{16}=32 - 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{#2055DA} - 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{#DAA520} = \mathrm{rgb}(218, 165, 32) \]
\[ \mathrm{#DAA520}:\quad R=\mathrm{DA}_{16}=218,\ G=\mathrm{A5}_{16}=165,\ B=\mathrm{20}_{16}=32 \]
\[ H=43^\circ,\quad S=74\%,\quad L=49\% \]
\[ 43^\circ + 180^\circ = 223^\circ ;\Rightarrow; \mathrm{#2055DA} \]
\[ \text{contrast} = \frac{L_1+0.05}{L_2+0.05} = 2.24:1\ \text{(on white)} \]Goldenrod in every colour format
| Format | Value |
|---|---|
| HEX | #DAA520 |
| RGB | rgb(218, 165, 32) |
| RGB (percent) | rgb(85.5%, 64.7%, 12.5%) |
| HSL | hsl(43, 74%, 49%) |
| HSV / HSB | hsv(43, 85%, 85%) |
| CMYK | cmyk(0%, 24%, 85%, 15%) |
| Decimal | 14329120 |
| Description | orange |
| CSS name | goldenrod |
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.24:1 | fail | fail | fail | fail |
| Black text | 9.38:1 | pass | pass | pass | pass |
Shades and tints
| Kind | Hex codes (darkest to lightest) |
|---|---|
| Shades (mixed with black) | #241B05 #49370B #6D5310 #916E15 #B68A1B |
| This colour | #DAA520 |
| Tints (mixed with white) | #E0B445 #E6C36A #EDD290 #F3E1B5 #F9F0DA |
How it looks with colour blindness
| Type | Hex | Distance from the original |
|---|---|---|
| Protanopia | #BBA500 | 15 |
| Deuteranopia | #C8B329 | 15 |
| Tritanopia | #ED948D | 56 |
| Grayscale | #ADADAD | - |
Nearest named colours
| Name | Hex |
|---|---|
| Dark goldenrod | #B8860B |
| Orange | #FFA500 |
| Peru | #CD853F |
| Sandy brown | #F4A460 |
Questions
What is the RGB value of #DAA520?
rgb(218, 165, 32): red 218, green 165, blue 32.
What is the HSL value of #DAA520?
hsl(43, 74%, 49%): a hue of 43°, 74% saturation and 49% lightness.
What is the complementary colour of #DAA520?
#2055DA, found by turning the hue by 180°. The inverted colour (each channel subtracted from 255) is #255ADF.
Should I use white or black text on #DAA520?
Black. White gives 2.24:1 and black 9.38:1; the better one passes WCAG AA for normal text.
What is the CMYK value of #DAA520?
cmyk(0%, 24%, 85%, 15%). This is a simple formula conversion; printed colours depend on the printer profile.
Is #DAA520 a named colour?
Yes: it is the CSS colour name "goldenrod".