#D4AD2C#D4AD2C
#D4AD2C is a light, vivid yellow. Relative luminance 0.441; OKLCH L 76.2% C 0.144 H 90.8°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).
Color values
| HEX | #D4AD2C |
|---|---|
| RGB | rgb(212, 173, 44) |
| HSL | hsl(46, 66%, 50%) |
| HSV | hsv(46, 79%, 83%) |
| CMYK | cmyk(0%, 18.4%, 79.2%, 16.9%) |
| CIE-LAB | lab(72.27, 2.01, 66.23) |
| CIE-LCH | lch(72.27, 66.26, 88.27°) |
| OKLab | oklab(76.18% -0.0019 0.1435) |
| OKLCH | oklch(76.18% 0.144 90.8) |
| XYZ | xyz(42.5521, 44.0688, 8.6473) |
| Luminance | 0.4407 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 1.84
Mustard
#DBB42C
ΔE00 1.99
Gold (survey)
#DBB40C
ΔE00 2.99
Dark Yellow
#D5B60A
ΔE00 4.11
Goldenrod
#DAA520
ΔE00 4.15
Mustard (survey)
#CEB301
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4AD2C #2C53D4
analogous
#D4592C #D4AD2C #A7D42C
triadic
#D4AD2C #2CD4AD #AD2CD4
tetradic
#D4AD2C #2CD459 #2C53D4 #D42CA7
square
#D4AD2C #2CD459 #2C53D4 #D42CA7
split-complementary
#D4AD2C #2CA7D4 #592CD4
monochromatic
#6F5A17 #A28421 #D4AD2C #DEC15F #E9D592
Accessibility & contrast
On white
2.14
#D4AD2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.81
#D4AD2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4AD2C
9.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4AD2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4AD2C | 1.00 | 2.14 | 9.81 | 9.81 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB0C
Deuteranopia (green-blind)
#CBB634
Tritanopia (blue-blind)
#E69E95
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #d4ad2c; /* rgb */ color: rgb(212, 173, 44); /* oklch */ color: oklch(76.2% 0.144 90.8);
Tailwind
colors: {
custom: {
50: '#e6c570',
500: '#d4ad2c',
950: '#000000',
},
}SCSS
$custom: #d4ad2c; $custom-light: #e6c570; $custom-dark: #000000;
JSON
{
"hex": "#d4ad2c",
"rgb": {
"r": 212,
"g": 173,
"b": 44
},
"hsl": {
"h": 46.071,
"s": 66.142,
"l": 50.196
},
"oklch": {
"l": 0.76179,
"c": 0.14352,
"h": 90.8
},
"luminance": 0.44066
}Semantic roles & 50–950 ramp
primary
#D4AD2C
secondary
#889AD3
accent
#66E93F
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#171208
muted
#85817B