CSS named colour
Dark Goldenrod
#b8860b
A CSS named colour: darkgoldenrod is valid anywhere a colour is expected.
- RGB
- rgb(184 134 11)
- HSL
- 43°, 89%, 38%
- OKLCh
- 65.2% 0.132 81.6
Dark Goldenrod in every format
Web & CSSThe everyday formats for stylesheets and design tools.
| Hex | #b8860b | |
|---|---|---|
| RGB | rgb(184 134 11) | |
| RGB legacy | rgb(184, 134, 11) | |
| RGB percent | rgb(72.16% 52.55% 4.31%) | |
| HSL | hsl(42.7 88.7% 38.2%) | |
| HSL legacy | hsl(42.7, 88.7%, 38.2%) | |
| HSV / HSB | hsv(42.7, 94%, 72.2%) | |
| HWB | hwb(42.7 4.3% 27.8%) | |
| Nearest name | darkgoldenrod | |
| CMYK | cmyk(0%, 27.2%, 94%, 27.8%)Naive conversion. Real print work needs an ICC profile. |
Perceptual & wide gamutModern CSS colour spaces for uniform scales and P3 displays.
| OKLCh | oklch(65.207% 0.1322 81.572)Modern CSS colour space for even palettes — better than HSL when building scales. | |
|---|---|---|
| OKLab | oklab(65.207% 0.01938 0.13077) | |
| CIE LCh | lch(59.685% 63.995 78.222) | |
| CIE Lab | lab(59.685% 13.062 62.647) | |
| Display P3 | color(display-p3 0.6919 0.5335 0.1846) | |
| Rec. 2020 | color(rec2020 0.6114 0.4923 0.1337) | |
| srgb-linear | color(srgb-linear 0.4793 0.2384 0.0033)Light-linear sRGB — the same numbers a shader wants for maths. | |
| CIE XYZ (D65) | color(xyz-d65 0.2835 0.2727 0.0409) |
ShadersGLSL, HLSL and WGSL vectors in both encoded and linear form.
| GLSL vec3 — sRGB | vec3(0.722, 0.525, 0.043)Encoded values. Use when writing straight to the framebuffer. | |
|---|---|---|
| GLSL vec3 — linear | vec3(0.479, 0.238, 0.003)Light-linear values. Use for lighting, blending and mixing. | |
| GLSL vec4 — sRGB | vec4(0.722, 0.525, 0.043, 1.0) | |
| GLSL vec4 — linear | vec4(0.479, 0.238, 0.003, 1.0) | |
| GLSL ivec3 | ivec3(184, 134, 11) | |
| HLSL float3 — sRGB | float3(0.722, 0.525, 0.043) | |
| HLSL float3 — linear | float3(0.479, 0.238, 0.003) | |
| HLSL float4 — sRGB | float4(0.722, 0.525, 0.043, 1.0) | |
| HLSL half4 — sRGB | half4(0.722, 0.525, 0.043, 1.0) | |
| WGSL vec3f — sRGB | vec3f(0.722, 0.525, 0.043) | |
| WGSL vec4f — sRGB | vec4f(0.722, 0.525, 0.043, 1.0) | |
| WGSL vec3<f32> — linear | vec3<f32>(0.479, 0.238, 0.003) |
Engines & appsConstructors for Unity, Unreal, Godot, Flutter, SwiftUI and Android.
| Unity Color | new Color(0.722f, 0.525f, 0.043f, 1.0f)Color for everyday scripting (0–1). Color32 when you need whole numbers from 0 to 255. | |
|---|---|---|
| Unity Color32 | new Color32(184, 134, 11, 255) | |
| Unreal FLinearColor | FLinearColor(0.4793f, 0.2384f, 0.0033f, 1.0f)FLinearColor for materials and lighting. FColor when you need whole numbers from 0 to 255. | |
| Unreal FColor | FColor(184, 134, 11, 255)Whole numbers from 0 to 255 — use when an API asks for FColor, not FLinearColor. | |
| Godot Color | Color(0.722, 0.525, 0.043, 1) | |
| Flutter Color | Color(0xFFB8860B)Packed ARGB, so alpha comes first. | |
| Android Color | Color.rgb(184, 134, 11) | |
| SwiftUI Color | Color(red: 0.722, green: 0.525, blue: 0.043) | |
| UIKit UIColor | UIColor(red: 0.722, green: 0.525, blue: 0.043, alpha: 1) |
Raw valuesPacked integers and plain arrays.
| 0x hex | 0xB8860B | |
|---|---|---|
| 0x hex (ARGB) | 0xFFB8860B | |
| Array 0–1 | [0.722, 0.525, 0.043] | |
| Array 0–255 | [184, 134, 11] | |
| Decimal integer | 12092939 |
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 |
|---|---|---|---|---|
| Dark Goldenrod on white | 3.25:1 | AA Large | Lc 60 | Large headings only |
| Dark Goldenrod on black | 6.45:1 | AA | Lc 42 | Non-text elements only |
Dark Goldenrod text on a white background
Dark Goldenrod text on a black background
White text on Dark Goldenrod
Black text on Dark Goldenrod
Tonal scale
Hue held fixed while lightness walks OKLCh, ready to use as a design system ramp.
- 50#fff4c8
- 100#ffe8a6
- 200#ffd585
- 300#edbe66
- 400#d2a03d
- 500#b38100
- 600#976800
- 700#7b5200
- 800#634000
- 900#4f3100
- 950#2f1a00
Tints and shades
Mixed perceptually toward white and black, so the steps feel evenly spaced.
- Tint 1#c49a4a
- Tint 2#d0ae71
- Tint 3#dcc295
- Tint 4#e8d7b9
- Tint 5#f3ebdc
- Shade 1#906806
- Shade 2#694b03
- Shade 3#453001
- Shade 4#241700
- Shade 5#070400
Colours that work with Dark Goldenrod
Complementary, triadic and analogous partners, rotated in OKLCh so they keep the same apparent brightness.
- #618ee0
- #00a6b1
- #b573c0
- #ce763c
- #939723
Closest CSS names
darkgoldenrodexact matchperuΔEok 0.051chocolateΔEok 0.082oliveΔEok 0.095goldenrodΔEok 0.101olivedrabΔEok 0.115