#D2AE3A#D2AE3A
#D2AE3A is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.3% C 0.136 H 91.1°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #D2AE3A |
|---|---|
| RGB | rgb(210, 174, 58) |
| HSL | hsl(46, 63%, 53%) |
| HSV | hsv(46, 72%, 82%) |
| CMYK | cmyk(0%, 17.1%, 72.4%, 17.6%) |
| CIE-LAB | lab(72.42, 1.18, 61.28) |
| CIE-LCH | lch(72.42, 61.29, 88.90°) |
| OKLab | oklab(76.27% -0.0027 0.1358) |
| OKLCH | oklch(76.27% 0.136 91.1) |
| XYZ | xyz(42.4805, 44.2818, 10.3119) |
| Luminance | 0.4428 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.57
Burnt Yellow
#D5AB09
ΔE00 3.18
Gold (survey)
#DBB40C
ΔE00 3.90
Dark Yellow
#D5B60A
ΔE00 4.57
Mustard (survey)
#CEB301
ΔE00 4.82
Brownish Yellow
#C9B003
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2AE3A #3A5ED2
analogous
#D2623A #D2AE3A #AAD23A
triadic
#D2AE3A #3AD2AE #AE3AD2
tetradic
#D2AE3A #3AD262 #3A5ED2 #D23AAA
square
#D2AE3A #3AD262 #3A5ED2 #D23AAA
split-complementary
#D2AE3A #3AAAD2 #623AD2
monochromatic
#77611B #A88A26 #D2AE3A #DDC26C #E9D79E
Accessibility & contrast
On white
2.13
#D2AE3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#D2AE3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2AE3A
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2AE3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2AE3A | 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)
#C1AC28
Deuteranopia (green-blind)
#CAB640
Tritanopia (blue-blind)
#E3A097
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d2ae3a; /* rgb */ color: rgb(210, 174, 58); /* oklch */ color: oklch(76.3% 0.136 91.1);
Tailwind
colors: {
custom: {
50: '#e4c577',
500: '#d2ae3a',
950: '#000000',
},
}SCSS
$custom: #d2ae3a; $custom-light: #e4c577; $custom-dark: #000000;
JSON
{
"hex": "#d2ae3a",
"rgb": {
"r": 210,
"g": 174,
"b": 58
},
"hsl": {
"h": 45.789,
"s": 62.81,
"l": 52.549
},
"oklch": {
"l": 0.76272,
"c": 0.13587,
"h": 91.1
},
"luminance": 0.44279
}Semantic roles & 50–950 ramp
primary
#D2AE3A
secondary
#93A3D5
accent
#69E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B