#D1AF3F#D1AF3F
#D1AF3F is a light, vivid yellow. Relative luminance 0.446; OKLCH L 76.4% C 0.133 H 91.8°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).
Color values
| HEX | #D1AF3F |
|---|---|
| RGB | rgb(209, 175, 63) |
| HSL | hsl(46, 61%, 53%) |
| HSV | hsv(46, 70%, 82%) |
| CMYK | cmyk(0%, 16.3%, 69.9%, 18%) |
| CIE-LAB | lab(72.61, 0.47, 59.45) |
| CIE-LCH | lch(72.61, 59.45, 89.55°) |
| OKLab | oklab(76.42% -0.0041 0.1329) |
| OKLCH | oklch(76.42% 0.133 91.8) |
| XYZ | xyz(42.5239, 44.5766, 11.0660) |
| Luminance | 0.4457 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 2.91
Burnt Yellow
#D5AB09
ΔE00 3.80
Gold (survey)
#DBB40C
ΔE00 4.27
Dark Yellow
#D5B60A
ΔE00 4.68
Mustard (survey)
#CEB301
ΔE00 4.86
Brownish Yellow
#C9B003
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1AF3F #3F61D1
analogous
#D1663F #D1AF3F #AAD13F
triadic
#D1AF3F #3FD1AF #AF3FD1
tetradic
#D1AF3F #3FD166 #3F61D1 #D13FAA
square
#D1AF3F #3FD166 #3F61D1 #D13FAA
split-complementary
#D1AF3F #3FAAD1 #663FD1
monochromatic
#79631D #AA8C29 #D1AF3F #DDC470 #E9D8A2
Accessibility & contrast
On white
2.12
#D1AF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.91
#D1AF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D1AF3F
9.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1AF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1AF3F | 1.00 | 2.12 | 9.91 | 9.91 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC30
Deuteranopia (green-blind)
#CAB645
Tritanopia (blue-blind)
#E2A198
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d1af3f; /* rgb */ color: rgb(209, 175, 63); /* oklch */ color: oklch(76.4% 0.133 91.8);
Tailwind
colors: {
custom: {
50: '#e3c67a',
500: '#d1af3f',
950: '#000000',
},
}SCSS
$custom: #d1af3f; $custom-light: #e3c67a; $custom-dark: #000000;
JSON
{
"hex": "#d1af3f",
"rgb": {
"r": 209,
"g": 175,
"b": 63
},
"hsl": {
"h": 46.027,
"s": 61.345,
"l": 53.333
},
"oklch": {
"l": 0.76416,
"c": 0.13298,
"h": 91.8
},
"luminance": 0.44574
}Semantic roles & 50–950 ramp
primary
#D1AF3F
secondary
#97A5D5
accent
#69E443
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C