#E2E866#E2E866
#E2E866 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.1% C 0.153 H 111.5°. Best body text is #000000 at 15.97:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E866 |
|---|---|
| RGB | rgb(226, 232, 102) |
| HSL | hsl(63, 74%, 65%) |
| HSV | hsv(63, 56%, 91%) |
| CMYK | cmyk(2.6%, 0%, 56%, 9%) |
| CIE-LAB | lab(89.32, -18.89, 61.25) |
| CIE-LCH | lch(89.32, 64.10, 107.14°) |
| OKLab | oklab(90.14% -0.056 0.1419) |
| OKLCH | oklch(90.14% 0.153 111.5) |
| XYZ | xyz(62.6204, 74.8426, 23.7151) |
| Luminance | 0.7484 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 4.45
Yellowish Tan
#FCFC81
ΔE00 4.75
Yellowish
#FAEE66
ΔE00 4.83
Custard
#FFFD78
ΔE00 5.07
Sickly Yellow
#D0E429
ΔE00 5.09
Butter Yellow
#FFFD74
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E866 #6C66E8
analogous
#E8AD66 #E2E866 #A1E866
triadic
#E2E866 #66E2E8 #E866E2
tetradic
#E2E866 #66E8AD #6C66E8 #E866A1
square
#E2E866 #66E8AD #6C66E8 #E866A1
split-complementary
#E2E866 #66A1E8 #AD66E8
monochromatic
#B1B81C #D8E031 #E2E866 #ECF09B #F6F8D0
Accessibility & contrast
On white
1.32
#E2E866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.97
#E2E866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E866
15.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E866 | 1.00 | 1.32 | 15.97 | 15.97 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8DF58
Deuteranopia (green-blind)
#F9E26D
Tritanopia (blue-blind)
#F0DBCC
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #e2e866; /* rgb */ color: rgb(226, 232, 102); /* oklch */ color: oklch(90.1% 0.153 111.5);
Tailwind
colors: {
custom: {
50: '#eeef96',
500: '#e2e866',
950: '#000000',
},
}SCSS
$custom: #e2e866; $custom-light: #eeef96; $custom-dark: #000000;
JSON
{
"hex": "#e2e866",
"rgb": {
"r": 226,
"g": 232,
"b": 102
},
"hsl": {
"h": 62.769,
"s": 73.864,
"l": 65.49
},
"oklch": {
"l": 0.90139,
"c": 0.15251,
"h": 111.5
},
"luminance": 0.74841
}Semantic roles & 50–950 ramp
primary
#E2E866
secondary
#403AB8
accent
#10D619
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F