Goldenrod color #DAA520
rgb(218, 165, 32) · oklch(75.2% 0.147 84)
Goldenrod (#DAA520) is a light, vivid, warm yellow. It mixes 85% red, 65% green and 13% blue, with a perceived lightness of 75.2% in OKLCH. Black text reads best on it (9.38:1 vs 2.23:1). The closest other CSS color is Orange (#FFA500). For people with tritanopia it shifts the most, toward #ED948D.
Goldenrod color codes
| HEX | |
|---|---|
| RGB | |
| HSL | |
| HSV / HSB | |
| OKLCH | |
| CMYK | |
| CSS keyword |
Click a value to copy it. Convert any other color with the color converter.
Shades, tints and tones of goldenrod
Shades mix goldenrod with black, tints mix it with white, and tones mix it with gray. Mixing happens in OKLab, so the steps look evenly spaced.
Tints (lighter)
Shades (darker)
Tones (muted)
Goldenrod as a UI color scale (50–950)
An 11-step scale for design systems, with goldenrod placed at step 400. Copy it as a Tailwind v4 theme below.
Colors that go with goldenrod
Harmonies are computed on the OKLCH hue wheel, keeping goldenrod’s lightness and saturation where the sRGB gamut allows. Open any row in the palette generator to adjust it.
Complementary
EditThe base color and the hue directly opposite it. Maximum contrast; use one as the accent.
Split complementary
EditThe base plus the two hues beside its complement (±30°). Contrast with less tension than complementary.
Tetradic (rectangle)
EditTwo complementary pairs (rectangle: 0°, 60°, 180°, 240°). Rich; needs one dominant color.
Is goldenrod accessible? Contrast with white and black
2.23:1
AA fail AA large fail AAA fail
9.38:1
AA pass AA large pass AAA pass
- As a background, goldenrod works best with black text.
- For body text on white, use the darker variant (the closest color that passes AA, 4.5:1).
How goldenrod looks with color blindness
Simulated with the Machado et al. (2009) model. Around 1 in 12 men and 1 in 200 women have some form of color vision deficiency.
#bba500 Red-blind. Reds look dark and brownish; red and green are easily confused.
#c8b329 Green-blind, the most common strong form. Red, green, orange and brown look similar.
#ed948d Blue-blind and rare. Blue and green are confused, as are yellow and pink.
#adadad Total color blindness, very rare. Only lightness differences are visible.
Colors similar to goldenrod
The closest CSS named colors by perceptual distance (ΔE OK; under 2 is hard to tell apart).
Use goldenrod in CSS and Tailwind
CSS custom properties
:root {
--goldenrod: #daa520;
--goldenrod-rgb: 218 165 32;
}
.text-goldenrod { color: var(--goldenrod); }
.bg-goldenrod { background-color: var(--goldenrod); }
Tailwind v4 theme
@theme {
--color-goldenrod-50: #f8f7f5;
--color-goldenrod-100: #f1ece3;
--color-goldenrod-200: #ead9b6;
--color-goldenrod-300: #e3bb69;
--color-goldenrod-400: #daa520;
--color-goldenrod-500: #a87f16;
--color-goldenrod-600: #8b6810;
--color-goldenrod-700: #6e5418;
--color-goldenrod-800: #54421b;
--color-goldenrod-900: #40331a;
--color-goldenrod-950: #251e11;
}
Make a gradient from goldenrod: open the gradient generator.
Painting in Procreate or designing in Photoshop? See our palette packs: every color with HEX codes is free to browse, and the swatch files are a quick download.