CSS Named Color Reference

Goldenrod Color Code

Goldenrod·#DAA520

Yellow FamilyWarmMid toneHigh saturationoklch(75.2% 0.147 84)
HEX
#DAA520Primary token
RGB
rgb(218, 165, 32)Screen values
HSL
hsl(43 74% 49%)Hue and lightness
CMYK
0, 24, 85, 15Print handoff
LAB
71, 9, 69Perceptual reference
OKLCH
oklch(75.2% 0.147 84)Modern perceptual

Goldenrod is a mid-tone, high-saturation CSS named color at #DAA520. If you searched for goldenrod hex code, DAA520, or goldenrod RGB, this page gives the exact color value, conversion formats, contrast checks, nearby colors, and links into the lookup and converter workflows.

Best text colorDark text
Body text contrast7.66:1
Best UseAttention markers, highlights, warm backgrounds, and caution-adjacent states

Tonal Scale

100#F8EFD7
300#EED698
500#E1B548
600#DAA520
800#9D7717

Contrast Checks

White text on this color

Buttons, badges, and filled actions.

2.24:1Needs more separation

Dark text on this color

Large headings and selective UI.

7.66:1AAA-level contrast

This color on light surface

Links, borders, and icons on light UI.

2.13:1Needs more separation
Best text colorDark textContrast 7.66:1

Professional Reference

OKLCHoklch(75.2% 0.147 84)
Relative Luminance0.4192
Source TypeCSS Named Color
Classification
Yellow FamilyWarmMid toneHigh saturation
Source Context
Source Type
CSS Named Color
System
CSS
Closest Matches
Tailwind Yellow 500Tailwind Yellow 600Ant Design Yellow 7
Color Notes
  • Goldenrod is kept as an exact CSS named color for #DAA520.
  • Queries for goldenrod color code, DAA520, or goldenrod RGB usually need the value first, then contrast and implementation context.

Accessibility Matrix

White text on this color

White text placed on the current color.

2.24:1Needs more separation

Dark text on this color

Dark text or headings on the current color.

7.66:1AAA

This color on light surface

Use this color for links, strokes, or icons on light UI.

2.13:1Needs more separation

This color on dark surface

Use this color inside dark shells for strokes, tags, or icons.

7.66:1AAA
Best text colorDark textContrast 7.66:1 · AAA

Where It Works

  • Use it for highlights, caution-adjacent labels, warm backgrounds, and attention markers.
  • Most yellows need dark text for readable interface copy.
  • Pair with charcoal, deep olive, warm neutrals, and controlled orange accents.

Reference Notes

Last Updated
2026-09-03
Source Library
CSS Standard Colors
Methodology
Verified source values + site guidance
Color Notes

Goldenrod is sourced from the published CSS Standard Colors library and retained here as a searchable reference swatch for product and interface reference work.

Hue Family

Bright ambers and yellows that carry warmth.

Source Collections
CSS Named Colors

Related Colors

Palette Starting Points

Implementation Snippets

CSS Variables
:root {
  --color-goldenrod: #DAA520;
  --color-goldenrod-rgb: 218 165 32;
}
Utility Class
class="bg-[#DAA520] text-white"
class="hover:bg-[#9D7717] ring-1 ring-[#DAA520]"
JSON Token
{
  "goldenrod": "#DAA520",
  "goldenrodRgb": [218, 165, 32],
  "goldenrodHsl": [43, 74, 49]
}