#D4AC2A#D4AC2A
#D4AC2A is a light, vivid yellow. Relative luminance 0.437; OKLCH L 76.0% C 0.144 H 90.3°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).
Color values
| HEX | #D4AC2A |
|---|---|
| RGB | rgb(212, 172, 42) |
| HSL | hsl(46, 67%, 50%) |
| HSV | hsv(46, 80%, 83%) |
| CMYK | cmyk(0%, 18.9%, 80.2%, 16.9%) |
| CIE-LAB | lab(72.01, 2.47, 66.63) |
| CIE-LCH | lch(72.01, 66.68, 87.88°) |
| OKLab | oklab(75.97% -0.0008 0.144) |
| OKLCH | oklch(75.97% 0.144 90.3) |
| XYZ | xyz(42.3244, 43.6720, 8.3903) |
| Luminance | 0.4367 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 1.67
Mustard
#DBB42C
ΔE00 2.22
Gold (survey)
#DBB40C
ΔE00 3.14
Goldenrod
#DAA520
ΔE00 3.82
Yellow Ochre
#CB9D06
ΔE00 4.33
Dark Yellow
#D5B60A
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4AC2A #2A52D4
analogous
#D4572A #D4AC2A #A7D42A
triadic
#D4AC2A #2AD4AC #AC2AD4
tetradic
#D4AC2A #2AD457 #2A52D4 #D42AA7
square
#D4AC2A #2AD457 #2A52D4 #D42AA7
split-complementary
#D4AC2A #2AA7D4 #572AD4
monochromatic
#6E5916 #A18320 #D4AC2A #DFC05C #E9D48F
Accessibility & contrast
On white
2.16
#D4AC2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.73
#D4AC2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4AC2A
9.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4AC2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4AC2A | 1.00 | 2.16 | 9.73 | 9.73 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA06
Deuteranopia (green-blind)
#CAB532
Tritanopia (blue-blind)
#E69D94
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #d4ac2a; /* rgb */ color: rgb(212, 172, 42); /* oklch */ color: oklch(76.0% 0.144 90.3);
Tailwind
colors: {
custom: {
50: '#e6c46f',
500: '#d4ac2a',
950: '#000000',
},
}SCSS
$custom: #d4ac2a; $custom-light: #e6c46f; $custom-dark: #000000;
JSON
{
"hex": "#d4ac2a",
"rgb": {
"r": 212,
"g": 172,
"b": 42
},
"hsl": {
"h": 45.882,
"s": 66.929,
"l": 49.804
},
"oklch": {
"l": 0.75967,
"c": 0.14395,
"h": 90.3
},
"luminance": 0.43669
}Semantic roles & 50–950 ramp
primary
#D4AC2A
secondary
#8699D3
accent
#66EA3E
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#171208
muted
#85817B