#D1AF3E#D1AF3E
#D1AF3E is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.4% C 0.134 H 91.9°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #D1AF3E |
|---|---|
| RGB | rgb(209, 175, 62) |
| HSL | hsl(46, 62%, 53%) |
| HSV | hsv(46, 70%, 82%) |
| CMYK | cmyk(0%, 16.3%, 70.3%, 18%) |
| CIE-LAB | lab(72.60, 0.41, 59.84) |
| CIE-LCH | lch(72.60, 59.85, 89.60°) |
| OKLab | oklab(76.41% -0.0044 0.1336) |
| OKLCH | oklch(76.41% 0.134 91.9) |
| XYZ | xyz(42.4962, 44.5655, 10.9202) |
| Luminance | 0.4456 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.83
Burnt Yellow
#D5AB09
ΔE00 3.71
Gold (survey)
#DBB40C
ΔE00 4.18
Dark Yellow
#D5B60A
ΔE00 4.58
Mustard (survey)
#CEB301
ΔE00 4.75
Brownish Yellow
#C9B003
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1AF3E #3E60D1
analogous
#D1653E #D1AF3E #AAD13E
triadic
#D1AF3E #3ED1AF #AF3ED1
tetradic
#D1AF3E #3ED165 #3E60D1 #D13EAA
square
#D1AF3E #3ED165 #3E60D1 #D13EAA
split-complementary
#D1AF3E #3EAAD1 #653ED1
monochromatic
#78631D #A98C28 #D1AF3E #DDC36F #E9D8A1
Accessibility & contrast
On white
2.12
#D1AF3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#D1AF3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D1AF3E
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1AF3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1AF3E | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC2E
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#E2A198
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d1af3e; /* rgb */ color: rgb(209, 175, 62); /* oklch */ color: oklch(76.4% 0.134 91.9);
Tailwind
colors: {
custom: {
50: '#e3c67a',
500: '#d1af3e',
950: '#000000',
},
}SCSS
$custom: #d1af3e; $custom-light: #e3c67a; $custom-dark: #000000;
JSON
{
"hex": "#d1af3e",
"rgb": {
"r": 209,
"g": 175,
"b": 62
},
"hsl": {
"h": 46.122,
"s": 61.506,
"l": 53.137
},
"oklch": {
"l": 0.76407,
"c": 0.13365,
"h": 91.9
},
"luminance": 0.44563
}Semantic roles & 50–950 ramp
primary
#D1AF3E
secondary
#96A4D5
accent
#69E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C