#D2AF37#D2AF37
#D2AF37 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.5% C 0.138 H 92.0°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #D2AF37 |
|---|---|
| RGB | rgb(210, 175, 55) |
| HSL | hsl(46, 63%, 52%) |
| HSV | hsv(46, 74%, 82%) |
| CMYK | cmyk(0%, 16.7%, 73.8%, 17.6%) |
| CIE-LAB | lab(72.65, 0.51, 62.66) |
| CIE-LCH | lch(72.65, 62.66, 89.53°) |
| OKLab | oklab(76.45% -0.0049 0.1382) |
| OKLCH | oklch(76.45% 0.138 92) |
| XYZ | xyz(42.6003, 44.6400, 9.9863) |
| Luminance | 0.4464 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.23
Burnt Yellow
#D5AB09
ΔE00 3.03
Gold (survey)
#DBB40C
ΔE00 3.48
Dark Yellow
#D5B60A
ΔE00 3.99
Mustard (survey)
#CEB301
ΔE00 4.24
Brownish Yellow
#C9B003
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2AF37 #375AD2
analogous
#D26237 #D2AF37 #A7D237
triadic
#D2AF37 #37D2AF #AF37D2
tetradic
#D2AF37 #37D262 #375AD2 #D237A7
square
#D2AF37 #37D262 #375AD2 #D237A7
split-complementary
#D2AF37 #37A7D2 #6237D2
monochromatic
#74601A #A68925 #D2AF37 #DDC369 #E8D79B
Accessibility & contrast
On white
2.12
#D2AF37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.93
#D2AF37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2AF37
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2AF37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2AF37 | 1.00 | 2.12 | 9.93 | 9.93 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC23
Deuteranopia (green-blind)
#CBB63E
Tritanopia (blue-blind)
#E3A197
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d2af37; /* rgb */ color: rgb(210, 175, 55); /* oklch */ color: oklch(76.5% 0.138 92.0);
Tailwind
colors: {
custom: {
50: '#e4c676',
500: '#d2af37',
950: '#000000',
},
}SCSS
$custom: #d2af37; $custom-light: #e4c676; $custom-dark: #000000;
JSON
{
"hex": "#d2af37",
"rgb": {
"r": 210,
"g": 175,
"b": 55
},
"hsl": {
"h": 46.452,
"s": 63.265,
"l": 51.961
},
"oklch": {
"l": 0.76454,
"c": 0.13828,
"h": 92
},
"luminance": 0.44637
}Semantic roles & 50–950 ramp
primary
#D2AF37
secondary
#90A0D4
accent
#67E641
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161309
muted
#84827B