#E2EC66#E2EC66
#E2EC66 is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 91.0% C 0.157 H 113.0°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).
Color values
| HEX | #E2EC66 |
|---|---|
| RGB | rgb(226, 236, 102) |
| HSL | hsl(64, 78%, 66%) |
| HSV | hsv(64, 57%, 93%) |
| CMYK | cmyk(4.2%, 0%, 56.8%, 7.5%) |
| CIE-LAB | lab(90.38, -20.83, 62.44) |
| CIE-LCH | lch(90.38, 65.82, 108.45°) |
| OKLab | oklab(90.98% -0.0614 0.1444) |
| OKLCH | oklch(90.98% 0.157 113) |
| XYZ | xyz(63.7592, 77.1202, 24.0947) |
| Luminance | 0.7712 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish Tan
#FCFC81
ΔE00 4.50
Straw
#FCF679
ΔE00 4.59
Faded Yellow
#FEFF7F
ΔE00 4.79
Custard
#FFFD78
ΔE00 4.83
Sickly Yellow
#D0E429
ΔE00 4.84
Light Yellow
#FFFE7A
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2EC66 #7066EC
analogous
#ECB366 #E2EC66 #9FEC66
triadic
#E2EC66 #66E2EC #EC66E2
tetradic
#E2EC66 #66ECB3 #7066EC #EC669F
square
#E2EC66 #66ECB3 #7066EC #EC669F
split-complementary
#E2EC66 #669FEC #B366EC
monochromatic
#B3C018 #D8E530 #E2EC66 #ECF39C #F7FAD3
Accessibility & contrast
On white
1.28
#E2EC66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.42
#E2EC66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2EC66
16.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2EC66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2EC66 | 1.00 | 1.28 | 16.42 | 16.42 |
| #FFFFFF | 1.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FCE258
Deuteranopia (green-blind)
#FCE56E
Tritanopia (blue-blind)
#EFDFCF
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #e2ec66; /* rgb */ color: rgb(226, 236, 102); /* oklch */ color: oklch(91.0% 0.157 113.0);
Tailwind
colors: {
custom: {
50: '#eef296',
500: '#e2ec66',
950: '#000000',
},
}SCSS
$custom: #e2ec66; $custom-light: #eef296; $custom-dark: #000000;
JSON
{
"hex": "#e2ec66",
"rgb": {
"r": 226,
"g": 236,
"b": 102
},
"hsl": {
"h": 64.478,
"s": 77.907,
"l": 66.275
},
"oklch": {
"l": 0.90984,
"c": 0.15693,
"h": 113
},
"luminance": 0.77119
}Semantic roles & 50–950 ramp
primary
#E2EC66
secondary
#4238BE
accent
#0BDA1B
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F