#D9C960#D9C960
#D9C960 is a very light, vivid yellow. Relative luminance 0.574; OKLCH L 82.8% C 0.127 H 100.8°. Best body text is #000000 at 12.47:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C960 |
|---|---|
| RGB | rgb(217, 201, 96) |
| HSL | hsl(52, 61%, 61%) |
| HSV | hsv(52, 56%, 85%) |
| CMYK | cmyk(0%, 7.4%, 55.8%, 14.9%) |
| CIE-LAB | lab(80.39, -7.54, 53.61) |
| CIE-LCH | lch(80.39, 54.14, 98.00°) |
| OKLab | oklab(82.84% -0.0237 0.125) |
| OKLCH | oklch(82.84% 0.127 100.8) |
| XYZ | xyz(51.6150, 57.3715, 19.4190) |
| Luminance | 0.5737 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.09
Sandy
#F1DA7A
ΔE00 5.00
Dull Yellow
#EEDC5B
ΔE00 5.25
Light Mustard
#F7D560
ΔE00 6.08
Maize
#F4D054
ΔE00 6.17
Ugly Yellow
#D0C101
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C960 #6070D9
analogous
#D98D60 #D9C960 #ADD960
triadic
#D9C960 #60D9C9 #C960D9
tetradic
#D9C960 #60D98D #6070D9 #D960AD
square
#D9C960 #60D98D #6070D9 #D960AD
split-complementary
#D9C960 #60ADD9 #8D60D9
monochromatic
#9A8A25 #CBB731 #D9C960 #E5DA91 #F1EBC3
Accessibility & contrast
On white
1.68
#D9C960 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.47
#D9C960 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C960
12.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C960 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C960 | 1.00 | 1.68 | 12.47 | 12.47 |
| #FFFFFF | 1.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D9C456
Deuteranopia (green-blind)
#DECA65
Tritanopia (blue-blind)
#E8BDB2
Achromatopsia (no color)
#C7C7C7
Design tokens & code
CSS
--color: #d9c960; /* rgb */ color: rgb(217, 201, 96); /* oklch */ color: oklch(82.8% 0.127 100.8);
Tailwind
colors: {
custom: {
50: '#e7d990',
500: '#d9c960',
950: '#000000',
},
}SCSS
$custom: #d9c960; $custom-light: #e7d990; $custom-dark: #000000;
JSON
{
"hex": "#d9c960",
"rgb": {
"r": 217,
"g": 201,
"b": 96
},
"hsl": {
"h": 52.066,
"s": 61.421,
"l": 61.373
},
"oklch": {
"l": 0.82835,
"c": 0.12721,
"h": 100.8
},
"luminance": 0.5737
}Semantic roles & 50–950 ramp
primary
#D9C960
secondary
#3F4C9E
accent
#33C91C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F