#E2E960#E2E960
#E2E960 is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.3% C 0.159 H 111.9°. Best body text is #000000 at 16.06:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E960 |
|---|---|
| RGB | rgb(226, 233, 96) |
| HSL | hsl(63, 76%, 65%) |
| HSV | hsv(63, 59%, 91%) |
| CMYK | cmyk(3%, 0%, 58.8%, 8.6%) |
| CIE-LAB | lab(89.53, -19.81, 64.06) |
| CIE-LCH | lch(89.53, 67.05, 107.18°) |
| OKLab | oklab(90.29% -0.0592 0.1471) |
| OKLCH | oklch(90.29% 0.159 111.9) |
| XYZ | xyz(62.6159, 75.2925, 22.2985) |
| Luminance | 0.7529 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 4.48
Straw
#FCF679
ΔE00 4.55
Off Yellow
#F1F33F
ΔE00 4.66
Yellowish
#FAEE66
ΔE00 4.80
Yellowish Tan
#FCFC81
ΔE00 4.84
Butter Yellow
#FFFD74
ΔE00 4.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E960 #6760E9
analogous
#E9AC60 #E2E960 #9DE960
triadic
#E2E960 #60E2E9 #E960E2
tetradic
#E2E960 #60E9AC #6760E9 #E9609D
square
#E2E960 #60E9AC #6760E9 #E9609D
split-complementary
#E2E960 #609DE9 #AC60E9
monochromatic
#ADB519 #D8E22A #E2E960 #ECF096 #F6F8CC
Accessibility & contrast
On white
1.31
#E2E960 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.06
#E2E960 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E960
16.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E960 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E960 | 1.00 | 1.31 | 16.06 | 16.06 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9DF50
Deuteranopia (green-blind)
#FAE368
Tritanopia (blue-blind)
#F0DCCC
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #e2e960; /* rgb */ color: rgb(226, 233, 96); /* oklch */ color: oklch(90.3% 0.159 111.9);
Tailwind
colors: {
custom: {
50: '#eeef92',
500: '#e2e960',
950: '#000000',
},
}SCSS
$custom: #e2e960; $custom-light: #eeef92; $custom-dark: #000000;
JSON
{
"hex": "#e2e960",
"rgb": {
"r": 226,
"g": 233,
"b": 96
},
"hsl": {
"h": 63.066,
"s": 75.691,
"l": 64.51
},
"oklch": {
"l": 0.9029,
"c": 0.15859,
"h": 111.9
},
"luminance": 0.75291
}Semantic roles & 50–950 ramp
primary
#E2E960
secondary
#3E38B5
accent
#0ED818
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F