#D0AF42#D0AF42
#D0AF42 is a light, vivid yellow. Relative luminance 0.445; OKLCH L 76.3% C 0.131 H 92.0°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #D0AF42 |
|---|---|
| RGB | rgb(208, 175, 66) |
| HSL | hsl(46, 60%, 54%) |
| HSV | hsv(46, 68%, 82%) |
| CMYK | cmyk(0%, 15.9%, 68.3%, 18.4%) |
| CIE-LAB | lab(72.54, 0.19, 58.10) |
| CIE-LCH | lch(72.54, 58.10, 89.81°) |
| OKLab | oklab(76.34% -0.0045 0.1306) |
| OKLCH | oklch(76.34% 0.131 92) |
| XYZ | xyz(42.3280, 44.4656, 11.5064) |
| Luminance | 0.4446 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.27
Burnt Yellow
#D5AB09
ΔE00 4.19
Gold (survey)
#DBB40C
ΔE00 4.64
Desert
#CCAD60
ΔE00 4.65
Dark Yellow
#D5B60A
ΔE00 4.94
Brownish Yellow
#C9B003
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D0AF42 #4263D0
analogous
#D06842 #D0AF42 #AAD042
triadic
#D0AF42 #42D0AF #AF42D0
tetradic
#D0AF42 #42D068 #4263D0 #D042AA
square
#D0AF42 #42D068 #4263D0 #D042AA
split-complementary
#D0AF42 #42AAD0 #6842D0
monochromatic
#79641E #AA8D2A #D0AF42 #DCC473 #E8D8A4
Accessibility & contrast
On white
2.12
#D0AF42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#D0AF42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D0AF42
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D0AF42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D0AF42 | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC34
Deuteranopia (green-blind)
#CAB647
Tritanopia (blue-blind)
#E1A198
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d0af42; /* rgb */ color: rgb(208, 175, 66); /* oklch */ color: oklch(76.3% 0.131 92.0);
Tailwind
colors: {
custom: {
50: '#e2c67c',
500: '#d0af42',
950: '#000000',
},
}SCSS
$custom: #d0af42; $custom-light: #e2c67c; $custom-dark: #000000;
JSON
{
"hex": "#d0af42",
"rgb": {
"r": 208,
"g": 175,
"b": 66
},
"hsl": {
"h": 46.056,
"s": 60.169,
"l": 53.725
},
"oklch": {
"l": 0.76342,
"c": 0.1307,
"h": 92
},
"luminance": 0.44463
}Semantic roles & 50–950 ramp
primary
#D0AF42
secondary
#99A7D5
accent
#69E344
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C