#D2AE3E#D2AE3E
#D2AE3E is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.3% C 0.133 H 90.7°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D2AE3E |
|---|---|
| RGB | rgb(210, 174, 62) |
| HSL | hsl(45, 62%, 53%) |
| HSV | hsv(45, 70%, 82%) |
| CMYK | cmyk(0%, 17.1%, 70.5%, 17.6%) |
| CIE-LAB | lab(72.44, 1.37, 59.71) |
| CIE-LCH | lch(72.44, 59.73, 88.68°) |
| OKLab | oklab(76.3% -0.0017 0.1333) |
| OKLCH | oklch(76.3% 0.133 90.7) |
| XYZ | xyz(42.5862, 44.3241, 10.8688) |
| Luminance | 0.4432 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.88
Burnt Yellow
#D5AB09
ΔE00 3.55
Gold (survey)
#DBB40C
ΔE00 4.29
Goldenrod
#DAA520
ΔE00 4.93
Dark Yellow
#D5B60A
ΔE00 4.96
Desert
#CCAD60
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2AE3E #3E62D2
analogous
#D2643E #D2AE3E #ACD23E
triadic
#D2AE3E #3ED2AE #AE3ED2
tetradic
#D2AE3E #3ED264 #3E62D2 #D23EAC
square
#D2AE3E #3ED264 #3E62D2 #D23EAC
split-complementary
#D2AE3E #3EACD2 #643ED2
monochromatic
#79631C #AB8B28 #D2AE3E #DEC370 #E9D8A1
Accessibility & contrast
On white
2.13
#D2AE3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#D2AE3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2AE3E
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2AE3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2AE3E | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC2E
Deuteranopia (green-blind)
#CAB644
Tritanopia (blue-blind)
#E3A097
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d2ae3e; /* rgb */ color: rgb(210, 174, 62); /* oklch */ color: oklch(76.3% 0.133 90.7);
Tailwind
colors: {
custom: {
50: '#e4c57a',
500: '#d2ae3e',
950: '#000000',
},
}SCSS
$custom: #d2ae3e; $custom-light: #e4c57a; $custom-dark: #000000;
JSON
{
"hex": "#d2ae3e",
"rgb": {
"r": 210,
"g": 174,
"b": 62
},
"hsl": {
"h": 45.405,
"s": 62.185,
"l": 53.333
},
"oklch": {
"l": 0.76303,
"c": 0.13328,
"h": 90.7
},
"luminance": 0.44322
}Semantic roles & 50–950 ramp
primary
#D2AE3E
secondary
#96A6D6
accent
#6AE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C