#E2E966#E2E966
#E2E966 is a very light, vivid yellow. Relative luminance 0.754; OKLCH L 90.3% C 0.154 H 111.9°. Best body text is #000000 at 16.08:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E966 |
|---|---|
| RGB | rgb(226, 233, 102) |
| HSL | hsl(63, 75%, 66%) |
| HSV | hsv(63, 56%, 91%) |
| CMYK | cmyk(3%, 0%, 56.2%, 8.6%) |
| CIE-LAB | lab(89.58, -19.37, 61.55) |
| CIE-LCH | lch(89.58, 64.53, 107.47°) |
| OKLab | oklab(90.35% -0.0573 0.1425) |
| OKLCH | oklch(90.35% 0.154 111.9) |
| XYZ | xyz(62.9027, 75.4072, 23.8092) |
| Luminance | 0.7541 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 4.46
Yellowish Tan
#FCFC81
ΔE00 4.66
Yellowish
#FAEE66
ΔE00 4.95
Custard
#FFFD78
ΔE00 4.99
Sickly Yellow
#D0E429
ΔE00 5.00
Butter Yellow
#FFFD74
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E966 #6D66E9
analogous
#E9AE66 #E2E966 #A0E966
triadic
#E2E966 #66E2E9 #E966E2
tetradic
#E2E966 #66E9AE #6D66E9 #E966A0
square
#E2E966 #66E9AE #6D66E9 #E966A0
split-complementary
#E2E966 #66A0E9 #AE66E9
monochromatic
#B1BA1B #D8E130 #E2E966 #ECF19C #F6F8D1
Accessibility & contrast
On white
1.31
#E2E966 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.08
#E2E966 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E966
16.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E966 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E966 | 1.00 | 1.31 | 16.08 | 16.08 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9DF58
Deuteranopia (green-blind)
#F9E36E
Tritanopia (blue-blind)
#F0DCCD
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #e2e966; /* rgb */ color: rgb(226, 233, 102); /* oklch */ color: oklch(90.3% 0.154 111.9);
Tailwind
colors: {
custom: {
50: '#eeef96',
500: '#e2e966',
950: '#000000',
},
}SCSS
$custom: #e2e966; $custom-light: #eeef96; $custom-dark: #000000;
JSON
{
"hex": "#e2e966",
"rgb": {
"r": 226,
"g": 233,
"b": 102
},
"hsl": {
"h": 63.206,
"s": 74.857,
"l": 65.686
},
"oklch": {
"l": 0.9035,
"c": 0.15361,
"h": 111.9
},
"luminance": 0.75406
}Semantic roles & 50–950 ramp
primary
#E2E966
secondary
#413AB9
accent
#0ED719
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F