CSS named colour

Goldenrod

#daa520

A CSS named colour: goldenrod is valid anywhere a colour is expected.

RGB
rgb(218 165 32)
HSL
43°, 74%, 49%
OKLCh
75.2% 0.147 84.0

Open in the picker

Goldenrod in every format

Web & CSSThe everyday formats for stylesheets and design tools.

Hex#daa520
RGBrgb(218 165 32)
RGB legacyrgb(218, 165, 32)
RGB percentrgb(85.49% 64.71% 12.55%)
HSLhsl(42.9 74.4% 49%)
HSL legacyhsl(42.9, 74.4%, 49%)
HSV / HSBhsv(42.9, 85.3%, 85.5%)
HWBhwb(42.9 12.5% 14.5%)
Nearest namegoldenrod
CMYKcmyk(0%, 24.3%, 85.3%, 14.5%)Naive conversion. Real print work needs an ICC profile.

Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.

OKLChoklch(75.157% 0.14693 83.988)Modern CSS colour space for even palettes — better than HSL when building scales.
OKLaboklab(75.157% 0.01539 0.14613)
CIE LChlch(71.324% 69.761 79.922)
CIE Lablab(71.324% 12.208 68.685)
Display P3color(display-p3 0.8229 0.6554 0.2537)
Rec. 2020color(rec2020 0.7505 0.6241 0.2049)
srgb-linearcolor(srgb-linear 0.7011 0.3763 0.0144)Light-linear sRGB — the same numbers a shader wants for maths.
CIE XYZ (D65)color(xyz-d65 0.4263 0.4192 0.0721)

ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.

GLSL vec3 — sRGBvec3(0.855, 0.647, 0.125)Encoded values. Use when writing straight to the framebuffer.
GLSL vec3 — linearvec3(0.701, 0.376, 0.014)Light-linear values. Use for lighting, blending and mixing.
GLSL vec4 — sRGBvec4(0.855, 0.647, 0.125, 1.0)
GLSL vec4 — linearvec4(0.701, 0.376, 0.014, 1.0)
GLSL ivec3ivec3(218, 165, 32)
HLSL float3 — sRGBfloat3(0.855, 0.647, 0.125)
HLSL float3 — linearfloat3(0.701, 0.376, 0.014)
HLSL float4 — sRGBfloat4(0.855, 0.647, 0.125, 1.0)
HLSL half4 — sRGBhalf4(0.855, 0.647, 0.125, 1.0)
WGSL vec3f — sRGBvec3f(0.855, 0.647, 0.125)
WGSL vec4f — sRGBvec4f(0.855, 0.647, 0.125, 1.0)
WGSL vec3<f32> — linearvec3<f32>(0.701, 0.376, 0.014)

Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.

Unity Colornew Color(0.855f, 0.647f, 0.125f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255.
Unity Color32new Color32(218, 165, 32, 255)
Unreal FLinearColorFLinearColor(0.7011f, 0.3763f, 0.0144f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255.
Unreal FColorFColor(218, 165, 32, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor.
Godot ColorColor(0.855, 0.647, 0.125, 1)
Flutter ColorColor(0xFFDAA520)Packed ARGB, so alpha comes first.
Android ColorColor.rgb(218, 165, 32)
SwiftUI ColorColor(red: 0.855, green: 0.647, blue: 0.125)
UIKit UIColorUIColor(red: 0.855, green: 0.647, blue: 0.125, alpha: 1)

Raw valuesPacked integers and plain arrays.

0x hex0xDAA520
0x hex (ARGB)0xFFDAA520
Array 0–1[0.855, 0.647, 0.125]
Array 0–255[218, 165, 32]
Decimal integer14329120

Contrast and accessibility

WCAG 2 ratios are what audits and legislation reference. APCA is shown alongside because WCAG 2 is known to misjudge mid-tone backgrounds, and it is the basis of the WCAG 3 draft.

PairingWCAG 2 ratioLevelAPCASuitable for
Goldenrod on white2.24:1FailLc 44Non-text elements only
Goldenrod on black9.38:1AAALc 58Large headings only

Goldenrod text on a white background

Goldenrod text on a black background

White text on Goldenrod

Black text on Goldenrod

Tonal scale

Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.

  • 50#fff5c4
  • 100#ffe9a0
  • 200#ffd678
  • 300#eebe56
  • 400#d3a023
  • 500#b58100
  • 600#956900
  • 700#795300
  • 800#614100
  • 900#4d3200
  • 950#2e1b00

Tints and shades

Mixed perceptually toward white and black, so the steps feel evenly spaced.

  • Tint 1#e1b457
  • Tint 2#e7c47d
  • Tint 3#edd39f
  • Tint 4#f3e2bf
  • Tint 5#f9f0df
  • Shade 1#ab8117
  • Shade 2#7e5e0e
  • Shade 3#543d06
  • Shade 4#2d1f02
  • Shade 5#0b0600

Colours that work with Goldenrod

Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.

  • #7eacff
  • #00c8d9
  • #dc8ce3
  • #f5924b
  • #aeb839

Closest CSS names

  • goldenrodexact match
  • orangeΔEok 0.060
  • darkkhakiΔEok 0.067
  • sandybrownΔEok 0.069
  • darkorangeΔEok 0.079
  • burlywoodΔEok 0.089