Goldenrod Color Codes
Goldenrod is a light, saturated amber with the hex code #DAA520, RGB values of 218, 165, 32 and an HSL value of hsl(43, 74%, 49%).
| HEX | #DAA520 |
|---|---|
| RGB | 218, 165, 32 |
| HSL | hsl(43, 74%, 49%) |
| HSV | 43°, 85%, 85% |
| CMYK | 0%, 24%, 85%, 15% |
| LAB | 70.82, 8.52, 68.76 |
| CIELCHuv | 70.82, 82.87, 57.63° |
- Nearest Pantone
- PMS 124 C ΔE 5.5 · approximate
- Nearest CSS name
-
goldenrodΔE 0.0
Source CSS Color Module Level 4 keyword 'Goldenrod'
Goldenrod Color Hex Code
The Goldenrod color hex code is #DAA520. Those six digits are three pairs, DA for red, A5 for green and 20 for blue, which is the same triplet a browser reads from the CSS value below.
#DAA520
Goldenrod Color RGB Code
The Goldenrod RGB code is rgb(218, 165, 32). Red carries the most light at 218 of 255, which is what puts this color where it sits on the wheel.
rgb(218, 165, 32)
Goldenrod Color HSV Code
The Goldenrod HSV code is 43°, 85%, 85%. Read it as a hue of 43 degrees, 85% saturation and 85% value, which is the form most color pickers use because moving one number changes one thing.
43°, 85%, 85%
Goldenrod Color CIELChuv Code
The Goldenrod CIELCHuv code is 70.82, 82.87, 57.63°. Unlike hex or RGB this one is perceptual: lightness 71 means light to the eye rather than to the screen, and chroma 83 is how far it sits from grey.
70.82, 82.87, 57.63°
Tonal scale
What are Goldenrod Color Palettes?
A shade mixes toward black, a tint toward white, a tone toward grey. Every step keeps the hue and is copy-ready.
Shades, toward black
Tints, toward white
Tones, toward grey
Palettes
What are Goldenrod Color Palette Codes?
Each of these is a hue rotation from #DAA520. They are generated, not curated, so they are exact.
Complementary
Directly opposite sits #2055DA, a dark, saturated azure blue. No other pairing separates two hues further, so this is the one to reach for when a single element has to win attention. Both are saturated, so give the complement much less area than the base or the two will fight.
Analogous
#DA4820 and #B2DA20 sit 30 degrees either side. All three share most of their hue, so the set reads as one family instead of three separate decisions. Good for backgrounds and for state variations that should not announce themselves.
Triadic
#20DAA5 and #A520DA complete an even 120 degree split. Three fully independent hues, so one has to lead: keep this base dominant and let the other two appear in small quantities.
Split-complementary
Instead of the direct complement, this takes the two hues either side of it: #20B2DA and #4820DA. Almost the same contrast, without the edge shimmer a true complementary pair produces at high saturation.
Tetradic
Two complementary pairs forming a rectangle: this base with #2055DA, and #20DA48 with #DA20B2. The richest of the five and the hardest to balance, so treat this base as the lead and hold the other three well back.
Accessibility
Contrast checker: is Goldenrod accessible?
Measured against white and against black, with a separate verdict for each element type. Small text, large text and UI components have different thresholds, so one pass or fail for the whole color would be wrong roughly a third of the time.
White background
2.24:12.24
contrast ratio on white background
| Element | AA | AAA |
|---|---|---|
| Small text needs 4.5:1 / 7:1 | Fails | Fails |
| Large text needs 3:1 / 4.5:1 | Fails | Fails |
| UI component needs 3:1 | Fails | n/a |
Black background
9.38:19.38
contrast ratio on black background
| Element | AA | AAA |
|---|---|---|
| Small text needs 4.5:1 / 7:1 | Passes | Passes |
| Large text needs 3:1 / 4.5:1 | Passes | Passes |
| UI component needs 3:1 | Passes | n/a |
At 2.24:1 against white, Goldenrod is a fill color rather than a text color. Use it for surfaces, borders and large display type, and set the copy in ink. Text placed on it should be black, which gives 9.38:1.
Color vision
How Goldenrod looks with color blindness
Around 300 million people see color differently from the way it is specified. Each card shows the actual color beside how it appears, and how common that form of vision is.
Protanopia
About 1% of men#C5C55A
Goldenrod changes substantially here. ΔE 28.6
No working red cones. Reds darken sharply and drift toward the same muddy olive as green.
Deuteranopia
About 1% of men#C8CC62
Goldenrod changes substantially here. ΔE 31.1
No working green cones. With the milder deuteranomaly at nearer 6% of men, this is by far the most common form, and the one worth designing around.
Tritanopia
About 1 in 10,000#D87378
Goldenrod changes substantially here. ΔE 63.0
No working blue cones. Blues shift toward green and yellows toward pink. Rare, and unlike the others it is not sex-linked, so it affects men and women equally.
Achromatopsia
About 1 in 30,000#ADADAD
Goldenrod changes substantially here. ΔE 69.3
No color vision at all. Also a fair proxy for how the color survives a greyscale print or a failing screen.
To a deuteranope, the most common form, Goldenrod reads as #C8CC62. That is a shift of ΔE 31.1, so it is a different color to roughly one man in sixteen. The widest shift is under tritanopia, at ΔE 63.0. The rule this leads to needs no simulator: never let color be the only thing carrying a message. Add a label, an icon, or a clear difference in lightness, and the problem disappears for everyone.
Snippets
Using Goldenrod in code
:root {
--goldenrod: #DAA520;
}
.example {
color: var(--goldenrod);
}
// tailwind.config.js
theme: {
extend: {
colors: {
'goldenrod': '#DAA520',
},
},
}
// SwiftUI takes 0–1 components, not 0–255.
let goldenrod = Color(
red: 0.855,
green: 0.647,
blue: 0.125
)
<!-- res/values/colors.xml -->
<color name="goldenrod">#DAA520</color>
// Flutter wants ARGB: FF for full opacity, then the hex.
const goldenrod = Color(0xFFDAA520);