#D4C960#D4C960
#D4C960 is a very light, vivid yellow. Relative luminance 0.566; OKLCH L 82.4% C 0.127 H 103.3°. Best body text is #000000 at 12.32:1 contrast (WCAG AA passes).
Color values
| HEX | #D4C960 |
|---|---|
| RGB | rgb(212, 201, 96) |
| HSL | hsl(54, 57%, 60%) |
| HSV | hsv(54, 55%, 83%) |
| CMYK | cmyk(0%, 5.2%, 54.7%, 16.9%) |
| CIE-LAB | lab(79.96, -9.60, 53.01) |
| CIE-LCH | lch(79.96, 53.87, 100.27°) |
| OKLab | oklab(82.4% -0.0293 0.1238) |
| OKLCH | oklch(82.4% 0.127 103.3) |
| XYZ | xyz(50.1509, 56.6166, 19.3504) |
| Luminance | 0.5662 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.06
Dull Yellow
#EEDC5B
ΔE00 5.73
Sandy
#F1DA7A
ΔE00 5.84
Greenish Beige
#C9D179
ΔE00 6.11
Dirty Yellow
#CDC50A
ΔE00 6.45
Vomit Yellow
#C7C10C
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4C960 #606BD4
analogous
#D48F60 #D4C960 #A5D460
triadic
#D4C960 #60D4C9 #C960D4
tetradic
#D4C960 #60D48F #606BD4 #D460A5
square
#D4C960 #60D48F #606BD4 #D460A5
split-complementary
#D4C960 #60A5D4 #8F60D4
monochromatic
#928828 #C2B535 #D4C960 #E1D990 #EEEAC0
Accessibility & contrast
On white
1.70
#D4C960 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.32
#D4C960 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4C960
12.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4C960 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4C960 | 1.00 | 1.70 | 12.32 | 12.32 |
| #FFFFFF | 1.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C356
Deuteranopia (green-blind)
#DCC965
Tritanopia (blue-blind)
#E2BDB2
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #d4c960; /* rgb */ color: rgb(212, 201, 96); /* oklch */ color: oklch(82.4% 0.127 103.3);
Tailwind
colors: {
custom: {
50: '#e4d990',
500: '#d4c960',
950: '#000000',
},
}SCSS
$custom: #d4c960; $custom-light: #e4d990; $custom-dark: #000000;
JSON
{
"hex": "#d4c960",
"rgb": {
"r": 212,
"g": 201,
"b": 96
},
"hsl": {
"h": 54.31,
"s": 57.426,
"l": 60.392
},
"oklch": {
"l": 0.82396,
"c": 0.12721,
"h": 103.3
},
"luminance": 0.56615
}Semantic roles & 50–950 ramp
primary
#D4C960
secondary
#414998
accent
#30C520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F