#D2AE42#D2AE42
#D2AE42 is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.131 H 90.3°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #D2AE42 |
|---|---|
| RGB | rgb(210, 174, 66) |
| HSL | hsl(45, 62%, 54%) |
| HSV | hsv(45, 69%, 82%) |
| CMYK | cmyk(0%, 17.1%, 68.6%, 17.6%) |
| CIE-LAB | lab(72.47, 1.58, 58.09) |
| CIE-LCH | lch(72.47, 58.11, 88.44°) |
| OKLab | oklab(76.34% -0.0006 0.1305) |
| OKLCH | oklch(76.34% 0.131 90.3) |
| XYZ | xyz(42.7000, 44.3696, 11.4683) |
| Luminance | 0.4437 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.24
Burnt Yellow
#D5AB09
ΔE00 3.96
Desert
#CCAD60
ΔE00 4.51
Gold (survey)
#DBB40C
ΔE00 4.71
Goldenrod
#DAA520
ΔE00 5.00
Dark Yellow
#D5B60A
ΔE00 5.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2AE42 #4266D2
analogous
#D26642 #D2AE42 #AED242
triadic
#D2AE42 #42D2AE #AE42D2
tetradic
#D2AE42 #42D266 #4266D2 #D242AE
square
#D2AE42 #42D266 #4266D2 #D242AE
split-complementary
#D2AE42 #42AED2 #6642D2
monochromatic
#7C641E #AD8C29 #D2AE42 #DEC373 #EAD8A5
Accessibility & contrast
On white
2.13
#D2AE42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#D2AE42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2AE42
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2AE42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2AE42 | 1.00 | 2.13 | 9.87 | 9.87 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC34
Deuteranopia (green-blind)
#CAB647
Tritanopia (blue-blind)
#E3A098
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d2ae42; /* rgb */ color: rgb(210, 174, 66); /* oklch */ color: oklch(76.3% 0.131 90.3);
Tailwind
colors: {
custom: {
50: '#e4c57c',
500: '#d2ae42',
950: '#000000',
},
}SCSS
$custom: #d2ae42; $custom-light: #e4c57c; $custom-dark: #000000;
JSON
{
"hex": "#d2ae42",
"rgb": {
"r": 210,
"g": 174,
"b": 66
},
"hsl": {
"h": 45,
"s": 61.538,
"l": 54.118
},
"oklch": {
"l": 0.76337,
"c": 0.13054,
"h": 90.3
},
"luminance": 0.44367
}Semantic roles & 50–950 ramp
primary
#D2AE42
secondary
#99A9D7
accent
#6CE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C