#D2AF46#D2AF46
#D2AF46 is a light, vivid yellow. Relative luminance 0.448; OKLCH L 76.6% C 0.128 H 90.4°. Best body text is #000000 at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #D2AF46 |
|---|---|
| RGB | rgb(210, 175, 70) |
| HSL | hsl(45, 61%, 55%) |
| HSV | hsv(45, 67%, 82%) |
| CMYK | cmyk(0%, 16.7%, 66.7%, 17.6%) |
| CIE-LAB | lab(72.76, 1.28, 56.69) |
| CIE-LCH | lch(72.76, 56.70, 88.71°) |
| OKLab | oklab(76.58% -0.001 0.1282) |
| OKLCH | oklch(76.58% 0.128 90.4) |
| XYZ | xyz(43.0160, 44.8063, 12.1759) |
| Luminance | 0.4480 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.47
Desert
#CCAD60
ΔE00 4.17
Burnt Yellow
#D5AB09
ΔE00 4.40
Gold (survey)
#DBB40C
ΔE00 4.98
Goldenrod
#DAA520
ΔE00 5.41
Dark Yellow
#D5B60A
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2AF46 #4669D2
analogous
#D26946 #D2AF46 #AFD246
triadic
#D2AF46 #46D2AF #AF46D2
tetradic
#D2AF46 #46D269 #4669D2 #D246AF
square
#D2AF46 #46D269 #4669D2 #D246AF
split-complementary
#D2AF46 #46AFD2 #6946D2
monochromatic
#7F671F #B08F2B #D2AF46 #DEC477 #EADAA8
Accessibility & contrast
On white
2.11
#D2AF46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.96
#D2AF46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2AF46
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2AF46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2AF46 | 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)
#C2AD39
Deuteranopia (green-blind)
#CAB74B
Tritanopia (blue-blind)
#E3A199
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #d2af46; /* rgb */ color: rgb(210, 175, 70); /* oklch */ color: oklch(76.6% 0.128 90.4);
Tailwind
colors: {
custom: {
50: '#e3c67e',
500: '#d2af46',
950: '#000000',
},
}SCSS
$custom: #d2af46; $custom-light: #e3c67e; $custom-dark: #000000;
JSON
{
"hex": "#d2af46",
"rgb": {
"r": 210,
"g": 175,
"b": 70
},
"hsl": {
"h": 45,
"s": 60.87,
"l": 54.902
},
"oklch": {
"l": 0.76576,
"c": 0.12822,
"h": 90.4
},
"luminance": 0.44804
}Semantic roles & 50–950 ramp
primary
#D2AF46
secondary
#9CABD7
accent
#6CE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C