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
Goldenrod in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #daa520 | |
|---|---|---|
| RGB | rgb(218 165 32) | |
| RGB legacy | rgb(218, 165, 32) | |
| RGB percent | rgb(85.49% 64.71% 12.55%) | |
| HSL | hsl(42.9 74.4% 49%) | |
| HSL legacy | hsl(42.9, 74.4%, 49%) | |
| HSV / HSB | hsv(42.9, 85.3%, 85.5%) | |
| HWB | hwb(42.9 12.5% 14.5%) | |
| Nearest name | goldenrod | |
| CMYK | cmyk(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.
| OKLCh | oklch(75.157% 0.14693 83.988)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(75.157% 0.01539 0.14613) | |
| CIE LCh | lch(71.324% 69.761 79.922) | |
| CIE Lab | lab(71.324% 12.208 68.685) | |
| Display P3 | color(display-p3 0.8229 0.6554 0.2537) | |
| Rec. 2020 | color(rec2020 0.7505 0.6241 0.2049) | |
| srgb-linear | color(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 — sRGB | vec3(0.855, 0.647, 0.125)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.701, 0.376, 0.014)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.855, 0.647, 0.125, 1.0) | |
| GLSL vec4 — linear | vec4(0.701, 0.376, 0.014, 1.0) | |
| GLSL ivec3 | ivec3(218, 165, 32) | |
| HLSL float3 — sRGB | float3(0.855, 0.647, 0.125) | |
| HLSL float3 — linear | float3(0.701, 0.376, 0.014) | |
| HLSL float4 — sRGB | float4(0.855, 0.647, 0.125, 1.0) | |
| HLSL half4 — sRGB | half4(0.855, 0.647, 0.125, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.855, 0.647, 0.125) | |
| WGSL vec4f — sRGB | vec4f(0.855, 0.647, 0.125, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.701, 0.376, 0.014) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new 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 Color32 | new Color32(218, 165, 32, 255) | |
| Unreal FLinearColor | FLinearColor(0.7011f, 0.3763f, 0.0144f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(218, 165, 32, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.855, 0.647, 0.125, 1) | |
| Flutter Color | Color(0xFFDAA520)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(218, 165, 32) | |
| SwiftUI Color | Color(red: 0.855, green: 0.647, blue: 0.125) | |
| UIKit UIColor | UIColor(red: 0.855, green: 0.647, blue: 0.125, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xDAA520 | |
|---|---|---|
| 0x hex (ARGB) | 0xFFDAA520 | |
| Array 0–1 | [0.855, 0.647, 0.125] | |
| Array 0–255 | [218, 165, 32] | |
| Decimal integer | 14329120 |
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.
| Pairing | WCAG 2 ratio | Level | APCA | Suitable for |
|---|---|---|---|---|
| Goldenrod on white | 2.24:1 | Fail | Lc 44 | Non-text elements only |
| Goldenrod on black | 9.38:1 | AAA | Lc 58 | Large 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 matchorangeΔEok 0.060darkkhakiΔEok 0.067sandybrownΔEok 0.069darkorangeΔEok 0.079burlywoodΔEok 0.089