#D2AF3E#D2AF3E
#D2AF3E is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.5% C 0.134 H 91.4°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #D2AF3E |
|---|---|
| RGB | rgb(210, 175, 62) |
| HSL | hsl(46, 62%, 53%) |
| HSV | hsv(46, 70%, 82%) |
| CMYK | cmyk(0%, 16.7%, 70.5%, 17.6%) |
| CIE-LAB | lab(72.70, 0.85, 59.97) |
| CIE-LCH | lch(72.70, 59.98, 89.19°) |
| OKLab | oklab(76.51% -0.0032 0.1338) |
| OKLCH | oklch(76.51% 0.134 91.4) |
| XYZ | xyz(42.7801, 44.7119, 10.9335) |
| Luminance | 0.4471 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.72
Burnt Yellow
#D5AB09
ΔE00 3.60
Gold (survey)
#DBB40C
ΔE00 4.12
Dark Yellow
#D5B60A
ΔE00 4.66
Mustard (survey)
#CEB301
ΔE00 4.90
Brownish Yellow
#C9B003
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2AF3E #3E61D2
analogous
#D2653E #D2AF3E #ABD23E
triadic
#D2AF3E #3ED2AF #AF3ED2
tetradic
#D2AF3E #3ED265 #3E61D2 #D23EAB
square
#D2AF3E #3ED265 #3E61D2 #D23EAB
split-complementary
#D2AF3E #3EABD2 #653ED2
monochromatic
#79631C #AB8C28 #D2AF3E #DEC470 #E9D8A1
Accessibility & contrast
On white
2.11
#D2AF3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#D2AF3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2AF3E
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2AF3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2AF3E | 1.00 | 2.11 | 9.94 | 9.94 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD2E
Deuteranopia (green-blind)
#CBB744
Tritanopia (blue-blind)
#E3A198
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d2af3e; /* rgb */ color: rgb(210, 175, 62); /* oklch */ color: oklch(76.5% 0.134 91.4);
Tailwind
colors: {
custom: {
50: '#e4c67a',
500: '#d2af3e',
950: '#000000',
},
}SCSS
$custom: #d2af3e; $custom-light: #e4c67a; $custom-dark: #000000;
JSON
{
"hex": "#d2af3e",
"rgb": {
"r": 210,
"g": 175,
"b": 62
},
"hsl": {
"h": 45.811,
"s": 62.185,
"l": 53.333
},
"oklch": {
"l": 0.76506,
"c": 0.13386,
"h": 91.4
},
"luminance": 0.44709
}Semantic roles & 50–950 ramp
primary
#D2AF3E
secondary
#96A5D6
accent
#69E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C