#D2C560#D2C560
#D2C560 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.123 H 102.0°. Best body text is #000000 at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C560 |
|---|---|
| RGB | rgb(210, 197, 96) |
| HSL | hsl(53, 56%, 60%) |
| HSV | hsv(53, 54%, 82%) |
| CMYK | cmyk(0%, 6.2%, 54.3%, 17.6%) |
| CIE-LAB | lab(78.74, -8.38, 51.55) |
| CIE-LCH | lch(78.74, 52.23, 99.24°) |
| OKLab | oklab(81.38% -0.0257 0.1207) |
| OKLCH | oklch(81.38% 0.123 102) |
| XYZ | xyz(48.6575, 54.4804, 19.0168) |
| Luminance | 0.5448 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.61
Darkkhaki
#BDB76B
ΔE00 5.77
Sandy
#F1DA7A
ΔE00 6.21
Dull Yellow
#EEDC5B
ΔE00 6.57
Greenish Beige
#C9D179
ΔE00 6.60
Vomit Yellow
#C7C10C
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C560 #606DD2
analogous
#D28C60 #D2C560 #A6D260
triadic
#D2C560 #60D2C5 #C560D2
tetradic
#D2C560 #60D28C #606DD2 #D260A6
square
#D2C560 #60D28C #606DD2 #D260A6
split-complementary
#D2C560 #60A6D2 #8C60D2
monochromatic
#8F8329 #BFAF36 #D2C560 #DFD690 #EDE8BF
Accessibility & contrast
On white
1.77
#D2C560 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.90
#D2C560 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C560
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C560 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C560 | 1.00 | 1.77 | 11.90 | 11.90 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C056
Deuteranopia (green-blind)
#D9C665
Tritanopia (blue-blind)
#E0B9AE
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #d2c560; /* rgb */ color: rgb(210, 197, 96); /* oklch */ color: oklch(81.4% 0.123 102.0);
Tailwind
colors: {
custom: {
50: '#e2d690',
500: '#d2c560',
950: '#000000',
},
}SCSS
$custom: #d2c560; $custom-light: #e2d690; $custom-dark: #000000;
JSON
{
"hex": "#d2c560",
"rgb": {
"r": 210,
"g": 197,
"b": 96
},
"hsl": {
"h": 53.158,
"s": 55.882,
"l": 60
},
"oklch": {
"l": 0.81384,
"c": 0.12338,
"h": 102
},
"luminance": 0.54479
}Semantic roles & 50–950 ramp
primary
#D2C560
secondary
#414B95
accent
#5ADF49
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F