Skip to content

Goldenrod

Hex #DAA520, rgb(218 165 32). A brown CSS named color.

Open in palette generator

Goldenrod color codes

Click any value to copy it.

HEX
RGB
HSL
HSV
HWB
CMYK
OKLCH
OKLab
Lab
LCH
CSS keyword

About Goldenrod

Goldenrod is a light saturated brown with the hex code #DAA520. In RGB it is made of 218 red, 165 green and 32 blue; in HSL its hue is 43°, with 74% saturation and 49% lightness. Its perceptual lightness (OKLCH L) is 75.2%.

It is a CSS named color, so you can write "goldenrod" anywhere CSS accepts a color. Against white it has a contrast ratio of 2.24:1 and against black 9.38:1, so black text reads better on it and passes WCAG AA for normal text.

Tints, shades and tones

Goldenrod mixed step by step with white, black and middle gray (#808080).

Tints (with white)

Shades (with black)

Tones (with gray)

Goldenrod 50-950 scale

A Tailwind-style scale built in OKLCH; the original color sits on the step with the closest lightness.

Colors that go with Goldenrod

Color harmonies rotate the hue in OKLCH and keep the lightness and chroma. Each color links to its closest named color.

Complementary

Analogous

Triadic

Split complementary

Contrast and readability

WCAG 2 contrast of Goldenrod with white and black. The readable text color on Goldenrod is black.

Goldenrod textSmall text on white

On white2.24:1

  • AA fail
  • AA Large fail
  • AAA fail
  • UI 3:1 fail

APCA Lc 44

Goldenrod textSmall text on black

On black9.38:1

  • AA pass
  • AA Large pass
  • AAA pass
  • UI 3:1 pass

APCA Lc -58

Black text on Goldenrod (#000000)

Test any pair in the contrast checker.

Color blindness preview

How Goldenrod appears with each type of color vision deficiency (simulated with the Machado model).

  • Protanopia#BBA500
  • Deuteranopia#C8B329
  • Tritanopia#ED948D
  • Protanomaly#C5A604
  • Deuteranomaly#CCAF24
  • Tritanomaly#E19E65
  • Achromatopsia#ADADAD

Colors similar to Goldenrod

The closest named colors by perceptual difference (OKLab).

Use Goldenrod in CSS and Tailwind

CSS
.goldenrod {
  color: goldenrod; /* #DAA520 */
  background-color: rgb(218 165 32);
  border-color: oklch(75.2% 0.147 84);
}
Tailwind CSS
/* Tailwind CSS v4: bg-goldenrod-500, text-goldenrod-700... */
@theme {
  --color-goldenrod-50: #FEFAF1;
  --color-goldenrod-100: #F9EFDC;
  --color-goldenrod-200: #F2DFBB;
  --color-goldenrod-300: #E9C782;
  --color-goldenrod-400: #DAA520;
  --color-goldenrod-500: #BC8C00;
  --color-goldenrod-600: #A17700;
  --color-goldenrod-700: #815F00;
  --color-goldenrod-800: #674B00;
  --color-goldenrod-900: #533C00;
  --color-goldenrod-950: #1F1400;
}

<!-- or the exact color, no config -->
<div class="bg-[#DAA520] text-[#000000]">…</div>