#D2AE3F#D2AE3F
#D2AE3F is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.3% C 0.133 H 90.6°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #D2AE3F |
|---|---|
| RGB | rgb(210, 174, 63) |
| HSL | hsl(45, 62%, 54%) |
| HSV | hsv(45, 70%, 82%) |
| CMYK | cmyk(0%, 17.1%, 70%, 17.6%) |
| CIE-LAB | lab(72.45, 1.43, 59.31) |
| CIE-LCH | lch(72.45, 59.33, 88.62°) |
| OKLab | oklab(76.31% -0.0014 0.1326) |
| OKLCH | oklch(76.31% 0.133 90.6) |
| XYZ | xyz(42.6139, 44.3352, 11.0147) |
| Luminance | 0.4433 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.96
Burnt Yellow
#D5AB09
ΔE00 3.65
Gold (survey)
#DBB40C
ΔE00 4.39
Desert
#CCAD60
ΔE00 4.85
Goldenrod
#DAA520
ΔE00 4.94
Dark Yellow
#D5B60A
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2AE3F #3F63D2
analogous
#D2643F #D2AE3F #ACD23F
triadic
#D2AE3F #3FD2AE #AE3FD2
tetradic
#D2AE3F #3FD264 #3F63D2 #D23FAC
square
#D2AE3F #3FD264 #3F63D2 #D23FAC
split-complementary
#D2AE3F #3FACD2 #643FD2
monochromatic
#7A631D #AC8B28 #D2AE3F #DEC371 #E9D8A2
Accessibility & contrast
On white
2.13
#D2AE3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#D2AE3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2AE3F
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2AE3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2AE3F | 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)
#C1AC30
Deuteranopia (green-blind)
#CAB645
Tritanopia (blue-blind)
#E3A097
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d2ae3f; /* rgb */ color: rgb(210, 174, 63); /* oklch */ color: oklch(76.3% 0.133 90.6);
Tailwind
colors: {
custom: {
50: '#e4c57a',
500: '#d2ae3f',
950: '#000000',
},
}SCSS
$custom: #d2ae3f; $custom-light: #e4c57a; $custom-dark: #000000;
JSON
{
"hex": "#d2ae3f",
"rgb": {
"r": 210,
"g": 174,
"b": 63
},
"hsl": {
"h": 45.306,
"s": 62.025,
"l": 53.529
},
"oklch": {
"l": 0.76312,
"c": 0.13261,
"h": 90.6
},
"luminance": 0.44333
}Semantic roles & 50–950 ramp
primary
#D2AE3F
secondary
#97A6D6
accent
#6AE543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C