#D2AF3B#D2AF3B
#D2AF3B is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.5% C 0.136 H 91.7°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #D2AF3B |
|---|---|
| RGB | rgb(210, 175, 59) |
| HSL | hsl(46, 63%, 53%) |
| HSV | hsv(46, 72%, 82%) |
| CMYK | cmyk(0%, 16.7%, 71.9%, 17.6%) |
| CIE-LAB | lab(72.68, 0.70, 61.15) |
| CIE-LCH | lch(72.68, 61.15, 89.35°) |
| OKLab | oklab(76.48% -0.004 0.1358) |
| OKLCH | oklch(76.48% 0.136 91.7) |
| XYZ | xyz(42.7001, 44.6799, 10.5118) |
| Luminance | 0.4468 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.49
Burnt Yellow
#D5AB09
ΔE00 3.34
Gold (survey)
#DBB40C
ΔE00 3.83
Dark Yellow
#D5B60A
ΔE00 4.36
Mustard (survey)
#CEB301
ΔE00 4.61
Brownish Yellow
#C9B003
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2AF3B #3B5ED2
analogous
#D2643B #D2AF3B #A9D23B
triadic
#D2AF3B #3BD2AF #AF3BD2
tetradic
#D2AF3B #3BD264 #3B5ED2 #D23BA9
square
#D2AF3B #3BD264 #3B5ED2 #D23BA9
split-complementary
#D2AF3B #3BA9D2 #643BD2
monochromatic
#77621B #A98B27 #D2AF3B #DDC36D #E9D89F
Accessibility & contrast
On white
2.11
#D2AF3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#D2AF3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2AF3B
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2AF3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2AF3B | 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)
#C2AC2A
Deuteranopia (green-blind)
#CBB741
Tritanopia (blue-blind)
#E3A198
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d2af3b; /* rgb */ color: rgb(210, 175, 59); /* oklch */ color: oklch(76.5% 0.136 91.7);
Tailwind
colors: {
custom: {
50: '#e4c678',
500: '#d2af3b',
950: '#000000',
},
}SCSS
$custom: #d2af3b; $custom-light: #e4c678; $custom-dark: #000000;
JSON
{
"hex": "#d2af3b",
"rgb": {
"r": 210,
"g": 175,
"b": 59
},
"hsl": {
"h": 46.093,
"s": 62.656,
"l": 52.745
},
"oklch": {
"l": 0.76483,
"c": 0.13581,
"h": 91.7
},
"luminance": 0.44677
}Semantic roles & 50–950 ramp
primary
#D2AF3B
secondary
#94A3D5
accent
#68E642
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B