#D2C960#D2C960
#D2C960 is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.2% C 0.127 H 104.4°. Best body text is #000000 at 12.26:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C960 |
|---|---|
| RGB | rgb(210, 201, 96) |
| HSL | hsl(55, 56%, 60%) |
| HSV | hsv(55, 54%, 82%) |
| CMYK | cmyk(0%, 4.3%, 54.3%, 17.6%) |
| CIE-LAB | lab(79.80, -10.43, 52.77) |
| CIE-LCH | lch(79.80, 53.79, 101.18°) |
| OKLab | oklab(82.22% -0.0316 0.1233) |
| OKLCH | oklch(82.22% 0.127 104.4) |
| XYZ | xyz(49.5778, 56.3211, 19.3235) |
| Luminance | 0.5632 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 5.48
Greenish Beige
#C9D179
ΔE00 5.67
Dull Yellow
#EEDC5B
ΔE00 6.01
Sandy
#F1DA7A
ΔE00 6.23
Darkkhaki
#BDB76B
ΔE00 6.37
Dirty Yellow
#CDC50A
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C960 #6069D2
analogous
#D29060 #D2C960 #A2D260
triadic
#D2C960 #60D2C9 #C960D2
tetradic
#D2C960 #60D290 #6069D2 #D260A2
square
#D2C960 #60D290 #6069D2 #D260A2
split-complementary
#D2C960 #60A2D2 #9060D2
monochromatic
#8F8729 #BFB436 #D2C960 #DFD990 #EDE9BF
Accessibility & contrast
On white
1.71
#D2C960 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.26
#D2C960 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C960
12.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C960 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C960 | 1.00 | 1.71 | 12.26 | 12.26 |
| #FFFFFF | 1.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D8C356
Deuteranopia (green-blind)
#DCC865
Tritanopia (blue-blind)
#E0BDB1
Achromatopsia (no color)
#C6C6C6
Design tokens & code
CSS
--color: #d2c960; /* rgb */ color: rgb(210, 201, 96); /* oklch */ color: oklch(82.2% 0.127 104.4);
Tailwind
colors: {
custom: {
50: '#e2d990',
500: '#d2c960',
950: '#000000',
},
}SCSS
$custom: #d2c960; $custom-light: #e2d990; $custom-dark: #000000;
JSON
{
"hex": "#d2c960",
"rgb": {
"r": 210,
"g": 201,
"b": 96
},
"hsl": {
"h": 55.263,
"s": 55.882,
"l": 60
},
"oklch": {
"l": 0.82223,
"c": 0.12729,
"h": 104.4
},
"luminance": 0.56319
}Semantic roles & 50–950 ramp
primary
#D2C960
secondary
#414895
accent
#55DF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F