#D3AF2F#D3AF2F
#D3AF2F is a light, vivid yellow. Relative luminance 0.447; OKLCH L 76.5% C 0.143 H 92.2°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #D3AF2F |
|---|---|
| RGB | rgb(211, 175, 47) |
| HSL | hsl(47, 65%, 51%) |
| HSV | hsv(47, 78%, 83%) |
| CMYK | cmyk(0%, 17.1%, 77.7%, 17.3%) |
| CIE-LAB | lab(72.70, 0.62, 65.59) |
| CIE-LCH | lch(72.70, 65.59, 89.46°) |
| OKLab | oklab(76.5% -0.0055 0.1428) |
| OKLCH | oklch(76.5% 0.143 92.2) |
| XYZ | xyz(42.7095, 44.7167, 9.0704) |
| Luminance | 0.4471 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 1.76
Burnt Yellow
#D5AB09
ΔE00 2.38
Gold (survey)
#DBB40C
ΔE00 2.79
Dark Yellow
#D5B60A
ΔE00 3.47
Mustard (survey)
#CEB301
ΔE00 3.80
Brownish Yellow
#C9B003
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D3AF2F #2F53D3
analogous
#D35D2F #D3AF2F #A5D32F
triadic
#D3AF2F #2FD3AF #AF2FD3
tetradic
#D3AF2F #2FD35D #2F53D3 #D32FA5
square
#D3AF2F #2FD35D #2F53D3 #D32FA5
split-complementary
#D3AF2F #2FA5D3 #5D2FD3
monochromatic
#705D18 #A28622 #D3AF2F #DEC262 #E8D694
Accessibility & contrast
On white
2.11
#D3AF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#D3AF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D3AF2F
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D3AF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D3AF2F | 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)
#C3AC13
Deuteranopia (green-blind)
#CCB737
Tritanopia (blue-blind)
#E5A097
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d3af2f; /* rgb */ color: rgb(211, 175, 47); /* oklch */ color: oklch(76.5% 0.143 92.2);
Tailwind
colors: {
custom: {
50: '#e5c672',
500: '#d3af2f',
950: '#000000',
},
}SCSS
$custom: #d3af2f; $custom-light: #e5c672; $custom-dark: #000000;
JSON
{
"hex": "#d3af2f",
"rgb": {
"r": 211,
"g": 175,
"b": 47
},
"hsl": {
"h": 46.829,
"s": 65.079,
"l": 50.588
},
"oklch": {
"l": 0.76501,
"c": 0.14292,
"h": 92.2
},
"luminance": 0.44714
}Semantic roles & 50–950 ramp
primary
#D3AF2F
secondary
#8A9AD3
accent
#65E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171208
muted
#85817B