#D3AE2F#D3AE2F
#D3AE2F is a light, vivid yellow. Relative luminance 0.443; OKLCH L 76.3% C 0.142 H 91.6°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #D3AE2F |
|---|---|
| RGB | rgb(211, 174, 47) |
| HSL | hsl(46, 65%, 51%) |
| HSV | hsv(46, 78%, 83%) |
| CMYK | cmyk(0%, 17.5%, 77.7%, 17.3%) |
| CIE-LAB | lab(72.45, 1.15, 65.36) |
| CIE-LCH | lch(72.45, 65.37, 88.99°) |
| OKLab | oklab(76.3% -0.004 0.1423) |
| OKLCH | oklch(76.3% 0.142 91.6) |
| XYZ | xyz(42.5156, 44.3289, 9.0058) |
| Luminance | 0.4433 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 1.91
Burnt Yellow
#D5AB09
ΔE00 2.23
Gold (survey)
#DBB40C
ΔE00 2.97
Dark Yellow
#D5B60A
ΔE00 3.80
Mustard (survey)
#CEB301
ΔE00 4.13
Brownish Yellow
#C9B003
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D3AE2F #2F54D3
analogous
#D35C2F #D3AE2F #A6D32F
triadic
#D3AE2F #2FD3AE #AE2FD3
tetradic
#D3AE2F #2FD35C #2F54D3 #D32FA6
square
#D3AE2F #2FD35C #2F54D3 #D32FA6
split-complementary
#D3AE2F #2FA6D3 #5C2FD3
monochromatic
#705C18 #A28622 #D3AE2F #DEC262 #E8D594
Accessibility & contrast
On white
2.13
#D3AE2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#D3AE2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D3AE2F
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D3AE2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D3AE2F | 1.00 | 2.13 | 9.87 | 9.87 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC14
Deuteranopia (green-blind)
#CBB637
Tritanopia (blue-blind)
#E59F96
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #d3ae2f; /* rgb */ color: rgb(211, 174, 47); /* oklch */ color: oklch(76.3% 0.142 91.6);
Tailwind
colors: {
custom: {
50: '#e5c572',
500: '#d3ae2f',
950: '#000000',
},
}SCSS
$custom: #d3ae2f; $custom-light: #e5c572; $custom-dark: #000000;
JSON
{
"hex": "#d3ae2f",
"rgb": {
"r": 211,
"g": 174,
"b": 47
},
"hsl": {
"h": 46.463,
"s": 65.079,
"l": 50.588
},
"oklch": {
"l": 0.76298,
"c": 0.14236,
"h": 91.6
},
"luminance": 0.44326
}Semantic roles & 50–950 ramp
primary
#D3AE2F
secondary
#8A9BD3
accent
#66E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171208
muted
#85817B