#D4C05A#D4C05A
#D4C05A is a light, vivid yellow. Relative luminance 0.524; OKLCH L 80.5% C 0.124 H 98.4°. Best body text is #000000 at 11.49:1 contrast (WCAG AA passes).
Color values
| HEX | #D4C05A |
|---|---|
| RGB | rgb(212, 192, 90) |
| HSL | hsl(50, 59%, 59%) |
| HSV | hsv(50, 58%, 83%) |
| CMYK | cmyk(0%, 9.4%, 57.5%, 16.9%) |
| CIE-LAB | lab(77.54, -5.44, 53.01) |
| CIE-LCH | lch(77.54, 53.29, 95.86°) |
| OKLab | oklab(80.45% -0.0181 0.1231) |
| OKLCH | oklch(80.45% 0.124 98.4) |
| XYZ | xyz(47.8483, 52.4365, 17.2718) |
| Luminance | 0.5243 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.19
Mustard Yellow
#D2BD0A
ΔE00 6.10
Darkkhaki
#BDB76B
ΔE00 6.33
Mustard
#DBB42C
ΔE00 6.54
Maize
#F4D054
ΔE00 6.56
Dark Yellow
#D5B60A
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4C05A #5A6ED4
analogous
#D4835A #D4C05A #ABD45A
triadic
#D4C05A #5AD4C0 #C05AD4
tetradic
#D4C05A #5AD483 #5A6ED4 #D45AAB
square
#D4C05A #5AD483 #5A6ED4 #D45AAB
split-complementary
#D4C05A #5AABD4 #835AD4
monochromatic
#8E7D25 #BFA832 #D4C05A #E1D38B #EDE5BB
Accessibility & contrast
On white
1.83
#D4C05A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.49
#D4C05A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4C05A
11.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4C05A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4C05A | 1.00 | 1.83 | 11.49 | 11.49 |
| #FFFFFF | 1.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0BC50
Deuteranopia (green-blind)
#D6C35F
Tritanopia (blue-blind)
#E3B4A9
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d4c05a; /* rgb */ color: rgb(212, 192, 90); /* oklch */ color: oklch(80.5% 0.124 98.4);
Tailwind
colors: {
custom: {
50: '#e4d28c',
500: '#d4c05a',
950: '#000000',
},
}SCSS
$custom: #d4c05a; $custom-light: #e4d28c; $custom-dark: #000000;
JSON
{
"hex": "#d4c05a",
"rgb": {
"r": 212,
"g": 192,
"b": 90
},
"hsl": {
"h": 50.164,
"s": 58.654,
"l": 59.216
},
"oklch": {
"l": 0.80454,
"c": 0.12443,
"h": 98.4
},
"luminance": 0.52435
}Semantic roles & 50–950 ramp
primary
#D4C05A
secondary
#3E4C94
accent
#60E246
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140C
muted
#84837F