#E2D960#E2D960
#E2D960 is a very light, vivid yellow. Relative luminance 0.666; OKLCH L 86.9% C 0.142 H 105.0°. Best body text is #000000 at 14.33:1 contrast (WCAG AA passes).
Color values
| HEX | #E2D960 |
|---|---|
| RGB | rgb(226, 217, 96) |
| HSL | hsl(56, 69%, 63%) |
| HSV | hsv(56, 58%, 89%) |
| CMYK | cmyk(0%, 4%, 57.5%, 11.4%) |
| CIE-LAB | lab(85.32, -11.93, 59.40) |
| CIE-LCH | lch(85.32, 60.59, 101.36°) |
| OKLab | oklab(86.94% -0.0368 0.1372) |
| OKLCH | oklch(86.94% 0.142 105) |
| XYZ | xyz(58.2901, 66.6409, 20.8566) |
| Luminance | 0.6664 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.71
Yellowish
#FAEE66
ΔE00 5.00
Sandy Yellow
#FDEE73
ΔE00 5.08
Sandy
#F1DA7A
ΔE00 5.10
Piss Yellow
#DDD618
ΔE00 5.28
Sand Yellow
#FCE166
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2D960 #6069E2
analogous
#E29860 #E2D960 #AAE260
triadic
#E2D960 #60E2D9 #D960E2
tetradic
#E2D960 #60E298 #6069E2 #E260AA
square
#E2D960 #60E298 #6069E2 #E260AA
split-complementary
#E2D960 #60AAE2 #9860E2
monochromatic
#A99F1F #D9CD2C #E2D960 #EBE594 #F5F2C8
Accessibility & contrast
On white
1.47
#E2D960 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.33
#E2D960 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2D960
14.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2D960 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2D960 | 1.00 | 1.47 | 14.33 | 14.33 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD253
Deuteranopia (green-blind)
#EDD866
Tritanopia (blue-blind)
#F1CCBF
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #e2d960; /* rgb */ color: rgb(226, 217, 96); /* oklch */ color: oklch(86.9% 0.142 105.0);
Tailwind
colors: {
custom: {
50: '#eee491',
500: '#e2d960',
950: '#000000',
},
}SCSS
$custom: #e2d960; $custom-light: #eee491; $custom-dark: #000000;
JSON
{
"hex": "#e2d960",
"rgb": {
"r": 226,
"g": 217,
"b": 96
},
"hsl": {
"h": 55.846,
"s": 69.149,
"l": 63.137
},
"oklch": {
"l": 0.86935,
"c": 0.14208,
"h": 105
},
"luminance": 0.66639
}Semantic roles & 50–950 ramp
primary
#E2D960
secondary
#3B43AB
accent
#21D114
background
#FFFEFC
surface
#FEFCF4
border
#D6D5CE
text
#17150D
muted
#85847F