#D3AC2F#D3AC2F
#D3AC2F is a light, vivid yellow. Relative luminance 0.436; OKLCH L 75.9% C 0.141 H 90.4°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #D3AC2F |
|---|---|
| RGB | rgb(211, 172, 47) |
| HSL | hsl(46, 65%, 51%) |
| HSV | hsv(46, 78%, 83%) |
| CMYK | cmyk(0%, 18.5%, 77.7%, 17.3%) |
| CIE-LAB | lab(71.93, 2.21, 64.89) |
| CIE-LCH | lch(71.93, 64.92, 88.05°) |
| OKLab | oklab(75.89% -0.001 0.1413) |
| OKLCH | oklch(75.89% 0.141 90.4) |
| XYZ | xyz(42.1321, 43.5619, 8.8779) |
| Luminance | 0.4356 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 2.11
Mustard
#DBB42C
ΔE00 2.38
Gold (survey)
#DBB40C
ΔE00 3.44
Goldenrod
#DAA520
ΔE00 4.00
Yellow Ochre
#CB9D06
ΔE00 4.45
Dark Yellow
#D5B60A
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D3AC2F #2F56D3
analogous
#D35A2F #D3AC2F #A8D32F
triadic
#D3AC2F #2FD3AC #AC2FD3
tetradic
#D3AC2F #2FD35A #2F56D3 #D32FA8
square
#D3AC2F #2FD35A #2F56D3 #D32FA8
split-complementary
#D3AC2F #2FA8D3 #5A2FD3
monochromatic
#705B18 #A28422 #D3AC2F #DEC062 #E8D494
Accessibility & contrast
On white
2.16
#D3AC2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.71
#D3AC2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D3AC2F
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D3AC2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D3AC2F | 1.00 | 2.16 | 9.71 | 9.71 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA15
Deuteranopia (green-blind)
#CAB537
Tritanopia (blue-blind)
#E59D94
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #d3ac2f; /* rgb */ color: rgb(211, 172, 47); /* oklch */ color: oklch(75.9% 0.141 90.4);
Tailwind
colors: {
custom: {
50: '#e5c472',
500: '#d3ac2f',
950: '#000000',
},
}SCSS
$custom: #d3ac2f; $custom-light: #e5c472; $custom-dark: #000000;
JSON
{
"hex": "#d3ac2f",
"rgb": {
"r": 211,
"g": 172,
"b": 47
},
"hsl": {
"h": 45.732,
"s": 65.079,
"l": 50.588
},
"oklch": {
"l": 0.75894,
"c": 0.14129,
"h": 90.4
},
"luminance": 0.43559
}Semantic roles & 50–950 ramp
primary
#D3AC2F
secondary
#8A9CD3
accent
#68E840
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171208
muted
#85817B