#E2E856#E2E856
#E2E856 is a very light, vivid yellow. Relative luminance 0.746; OKLCH L 90.0% C 0.165 H 111.5°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E856 |
|---|---|
| RGB | rgb(226, 232, 86) |
| HSL | hsl(62, 76%, 62%) |
| HSV | hsv(62, 63%, 91%) |
| CMYK | cmyk(2.6%, 0%, 62.9%, 9%) |
| CIE-LAB | lab(89.18, -19.98, 67.79) |
| CIE-LCH | lch(89.18, 70.67, 106.42°) |
| OKLab | oklab(89.99% -0.0607 0.1537) |
| OKLCH | oklch(89.99% 0.165 111.5) |
| XYZ | xyz(61.9021, 74.5553, 19.9320) |
| Luminance | 0.7455 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 3.86
Off Yellow
#F1F33F
ΔE00 3.93
Yellowish
#FAEE66
ΔE00 4.62
Straw
#FCF679
ΔE00 4.83
Canary
#FDFF63
ΔE00 5.12
Butter Yellow
#FFFD74
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E856 #5C56E8
analogous
#E8A556 #E2E856 #99E856
triadic
#E2E856 #56E2E8 #E856E2
tetradic
#E2E856 #56E8A5 #5C56E8 #E85699
square
#E2E856 #56E8A5 #5C56E8 #E85699
split-complementary
#E2E856 #5699E8 #A556E8
monochromatic
#A6AC17 #D9E120 #E2E856 #EBEF8C #F4F7C2
Accessibility & contrast
On white
1.32
#E2E856 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.91
#E2E856 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E856
15.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E856 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E856 | 1.00 | 1.32 | 15.91 | 15.91 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9DE43
Deuteranopia (green-blind)
#FAE260
Tritanopia (blue-blind)
#F1DBCA
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #e2e856; /* rgb */ color: rgb(226, 232, 86); /* oklch */ color: oklch(90.0% 0.165 111.5);
Tailwind
colors: {
custom: {
50: '#eeef8c',
500: '#e2e856',
950: '#000000',
},
}SCSS
$custom: #e2e856; $custom-light: #eeef8c; $custom-dark: #000000;
JSON
{
"hex": "#e2e856",
"rgb": {
"r": 226,
"g": 232,
"b": 86
},
"hsl": {
"h": 62.466,
"s": 76.042,
"l": 62.353
},
"oklch": {
"l": 0.89988,
"c": 0.16523,
"h": 111.5
},
"luminance": 0.74554
}Semantic roles & 50–950 ramp
primary
#E2E856
secondary
#3A35AD
accent
#0DD816
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F