#D2AF45#D2AF45
#D2AF45 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.6% C 0.129 H 90.6°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #D2AF45 |
|---|---|
| RGB | rgb(210, 175, 69) |
| HSL | hsl(45, 61%, 55%) |
| HSV | hsv(45, 67%, 82%) |
| CMYK | cmyk(0%, 16.7%, 67.1%, 17.6%) |
| CIE-LAB | lab(72.76, 1.22, 57.11) |
| CIE-LCH | lch(72.76, 57.12, 88.77°) |
| OKLab | oklab(76.57% -0.0013 0.129) |
| OKLCH | oklch(76.57% 0.129 90.6) |
| XYZ | xyz(42.9847, 44.7938, 12.0111) |
| Luminance | 0.4479 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.37
Desert
#CCAD60
ΔE00 4.29
Burnt Yellow
#D5AB09
ΔE00 4.30
Gold (survey)
#DBB40C
ΔE00 4.87
Goldenrod
#DAA520
ΔE00 5.38
Dark Yellow
#D5B60A
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2AF45 #4568D2
analogous
#D26845 #D2AF45 #AFD245
triadic
#D2AF45 #45D2AF #AF45D2
tetradic
#D2AF45 #45D268 #4568D2 #D245AF
square
#D2AF45 #45D268 #4568D2 #D245AF
split-complementary
#D2AF45 #45AFD2 #6845D2
monochromatic
#7E661F #AF8E2A #D2AF45 #DEC476 #EAD9A8
Accessibility & contrast
On white
2.11
#D2AF45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#D2AF45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2AF45
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2AF45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2AF45 | 1.00 | 2.11 | 9.96 | 9.96 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD38
Deuteranopia (green-blind)
#CAB74A
Tritanopia (blue-blind)
#E3A199
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d2af45; /* rgb */ color: rgb(210, 175, 69); /* oklch */ color: oklch(76.6% 0.129 90.6);
Tailwind
colors: {
custom: {
50: '#e3c67e',
500: '#d2af45',
950: '#000000',
},
}SCSS
$custom: #d2af45; $custom-light: #e3c67e; $custom-dark: #000000;
JSON
{
"hex": "#d2af45",
"rgb": {
"r": 210,
"g": 175,
"b": 69
},
"hsl": {
"h": 45.106,
"s": 61.039,
"l": 54.706
},
"oklch": {
"l": 0.76566,
"c": 0.12897,
"h": 90.6
},
"luminance": 0.44791
}Semantic roles & 50–950 ramp
primary
#D2AF45
secondary
#9CAAD7
accent
#6BE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C