#D2AF3F#D2AF3F
#D2AF3F is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.5% C 0.133 H 91.3°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #D2AF3F |
|---|---|
| RGB | rgb(210, 175, 63) |
| HSL | hsl(46, 62%, 54%) |
| HSV | hsv(46, 70%, 82%) |
| CMYK | cmyk(0%, 16.7%, 70%, 17.6%) |
| CIE-LAB | lab(72.71, 0.90, 59.58) |
| CIE-LCH | lch(72.71, 59.58, 89.14°) |
| OKLab | oklab(76.51% -0.0029 0.1332) |
| OKLCH | oklch(76.51% 0.133 91.3) |
| XYZ | xyz(42.8078, 44.7230, 11.0793) |
| Luminance | 0.4472 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.80
Burnt Yellow
#D5AB09
ΔE00 3.70
Gold (survey)
#DBB40C
ΔE00 4.22
Dark Yellow
#D5B60A
ΔE00 4.76
Desert
#CCAD60
ΔE00 4.98
Mustard (survey)
#CEB301
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2AF3F #3F62D2
analogous
#D2653F #D2AF3F #ABD23F
triadic
#D2AF3F #3FD2AF #AF3FD2
tetradic
#D2AF3F #3FD265 #3F62D2 #D23FAB
square
#D2AF3F #3FD265 #3F62D2 #D23FAB
split-complementary
#D2AF3F #3FABD2 #653FD2
monochromatic
#7A641D #AC8C28 #D2AF3F #DEC471 #E9D8A2
Accessibility & contrast
On white
2.11
#D2AF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#D2AF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2AF3F
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2AF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2AF3F | 1.00 | 2.11 | 9.94 | 9.94 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AD30
Deuteranopia (green-blind)
#CBB745
Tritanopia (blue-blind)
#E3A198
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d2af3f; /* rgb */ color: rgb(210, 175, 63); /* oklch */ color: oklch(76.5% 0.133 91.3);
Tailwind
colors: {
custom: {
50: '#e4c67a',
500: '#d2af3f',
950: '#000000',
},
}SCSS
$custom: #d2af3f; $custom-light: #e4c67a; $custom-dark: #000000;
JSON
{
"hex": "#d2af3f",
"rgb": {
"r": 210,
"g": 175,
"b": 63
},
"hsl": {
"h": 45.714,
"s": 62.025,
"l": 53.529
},
"oklch": {
"l": 0.76514,
"c": 0.13318,
"h": 91.3
},
"luminance": 0.4472
}Semantic roles & 50–950 ramp
primary
#D2AF3F
secondary
#97A6D6
accent
#69E543
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C