Skip to content

Goldenrod (#DAA520)

The hex code for Goldenrod is #DAA520. It is rgb(218, 165, 32) in RGB, hsl(43, 74%, 49%) in HSL, and about cmyk(0%, 24%, 85%, 15%) in CMYK — a mid-tone yellow. Black text is the more readable choice on this background.

#DAA520
HEX#DAA520
RGBrgb(218, 165, 32)
HSLhsl(43, 74%, 49%)
HSVhsv(43, 85%, 85%)
CMYKcmyk(0%, 24%, 85%, 15%)
OKLCHoklch(75.2% 0.147 84)
LABlab(71.32% 12.21 68.68)
LCHlch(71.32% 69.76 79.92)

Colors Closest to Goldenrod

Goldenrod is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every yellow in the library.

#DAA520 Channel Values

How Goldenrod breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 218 · G 165 · B 328-bit channels as sent to the display
HSLH 43° · S 74% · L 49%Easiest model for building lighter and darker variants
HSVH 43° · S 85% · V 85%Matches the picker in most design tools
CMYKC 0% · M 24% · Y 85% · K 15%Approximate ink mix; confirm with an ICC profile before printing
Luminance2.24:1 vs white · 9.38:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Goldenrod background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

Fails AAWhite text2.24:1AA normal AA large AAA normal
TextBlack text9.38:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #DAA520 in the contrast checker.

Colors That Go With Goldenrod

Pairings derived from color-wheel relationships. The complementary color sits opposite Goldenrod; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Goldenrod

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #DAA520.

How Goldenrod Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#DAA520
Protanopia#B0B01E
Protanomaly#C2AB1F
Deuteranopia#B9B911
Deuteranomaly#C7B118
Tritanopia#E09C9C
Tritanomaly#DE9F7D
Achromatopsia#ADADAD

Test a full palette in the color blindness simulator.

Using #DAA520 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--goldenrod: #DAA520;
CSS backgroundbackground-color: #DAA520;
Tailwind configcolors: { 'goldenrod': '#DAA520' }
SwiftUIColor(red: 0.855, green: 0.647, blue: 0.125)
Android XML<color name="goldenrod">#DAA520</color>
SVG fillfill="#DAA520"

More Yellow Colors

Goldenrod sits in the yellow family. These are its neighbours across that family's full range, each with its own breakdown.

#DAA520 Frequently Asked Questions

What is the hex code for Goldenrod?

The hex code for Goldenrod is #DAA520. That is rgb(218, 165, 32) in RGB, hsl(43, 74%, 49%) in HSL, and approximately cmyk(0%, 24%, 85%, 15%) in CMYK.

What is the RGB value of #DAA520?

#DAA520 is rgb(218, 165, 32) — red 218, green 165, and blue 32 on the 0-255 scale.

What is the CMYK value of #DAA520?

#DAA520 converts to approximately cmyk(0%, 24%, 85%, 15%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #DAA520 be black or white?

Black text is the more readable choice. #DAA520 scores 2.24:1 against white and 9.38:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Is Goldenrod a CSS named color?

Yes. Goldenrod is one of the CSS named colors, so you can write color: goldenrod instead of the hex code.

Open Goldenrod in a Tool

Keep exploring: every yellow in the color library, the guide to shades of yellow, or the full color library.