#D3C960#D3C960
#D3C960 is a very light, vivid yellow. Relative luminance 0.565; OKLCH L 82.3% C 0.127 H 103.9°. Best body text is #000000 at 12.29:1 contrast (WCAG AA passes).
Color values
| HEX | #D3C960 |
|---|---|
| RGB | rgb(211, 201, 96) |
| HSL | hsl(55, 57%, 60%) |
| HSV | hsv(55, 55%, 83%) |
| CMYK | cmyk(0%, 4.7%, 54.5%, 17.3%) |
| CIE-LAB | lab(79.88, -10.01, 52.89) |
| CIE-LCH | lch(79.88, 53.83, 100.72°) |
| OKLab | oklab(82.31% -0.0305 0.1235) |
| OKLCH | oklch(82.31% 0.127 103.9) |
| XYZ | xyz(49.8635, 56.4684, 19.3369) |
| Luminance | 0.5647 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.27
Dull Yellow
#EEDC5B
ΔE00 5.87
Greenish Beige
#C9D179
ΔE00 5.89
Sandy
#F1DA7A
ΔE00 6.03
Dirty Yellow
#CDC50A
ΔE00 6.45
Darkkhaki
#BDB76B
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D3C960 #606AD3
analogous
#D39060 #D3C960 #A3D360
triadic
#D3C960 #60D3C9 #C960D3
tetradic
#D3C960 #60D390 #606AD3 #D360A3
square
#D3C960 #60D390 #606AD3 #D360A3
split-complementary
#D3C960 #60A3D3 #9060D3
monochromatic
#918728 #C1B435 #D3C960 #E0D990 #EEEAC0
Accessibility & contrast
On white
1.71
#D3C960 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.29
#D3C960 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D3C960
12.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D3C960 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D3C960 | 1.00 | 1.71 | 12.29 | 12.29 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C356
Deuteranopia (green-blind)
#DCC865
Tritanopia (blue-blind)
#E1BDB2
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #d3c960; /* rgb */ color: rgb(211, 201, 96); /* oklch */ color: oklch(82.3% 0.127 103.9);
Tailwind
colors: {
custom: {
50: '#e3d990',
500: '#d3c960',
950: '#000000',
},
}SCSS
$custom: #d3c960; $custom-light: #e3d990; $custom-dark: #000000;
JSON
{
"hex": "#d3c960",
"rgb": {
"r": 211,
"g": 201,
"b": 96
},
"hsl": {
"h": 54.783,
"s": 56.65,
"l": 60.196
},
"oklch": {
"l": 0.82309,
"c": 0.12724,
"h": 103.9
},
"luminance": 0.56467
}Semantic roles & 50–950 ramp
primary
#D3C960
secondary
#414896
accent
#2FC421
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F