#E2E862#E2E862
#E2E862 is a very light, vivid yellow. Relative luminance 0.748; OKLCH L 90.1% C 0.156 H 111.5°. Best body text is #000000 at 15.95:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E862 |
|---|---|
| RGB | rgb(226, 232, 98) |
| HSL | hsl(63, 74%, 65%) |
| HSV | hsv(63, 58%, 91%) |
| CMYK | cmyk(2.6%, 0%, 57.8%, 9%) |
| CIE-LAB | lab(89.28, -19.18, 62.94) |
| CIE-LCH | lch(89.28, 65.80, 106.95°) |
| OKLab | oklab(90.1% -0.0572 0.145) |
| OKLCH | oklch(90.1% 0.156 111.5) |
| XYZ | xyz(62.4268, 74.7652, 22.6955) |
| Luminance | 0.7476 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 4.49
Yellowish
#FAEE66
ΔE00 4.72
Sickly Yellow
#D0E429
ΔE00 4.73
Yellowish Tan
#FCFC81
ΔE00 4.85
Off Yellow
#F1F33F
ΔE00 4.91
Custard
#FFFD78
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E862 #6862E8
analogous
#E8AB62 #E2E862 #9FE862
triadic
#E2E862 #62E2E8 #E862E2
tetradic
#E2E862 #62E8AB #6862E8 #E8629F
square
#E2E862 #62E8AB #6862E8 #E8629F
split-complementary
#E2E862 #629FE8 #AB62E8
monochromatic
#AEB51B #D8E02D #E2E862 #ECF097 #F6F8CD
Accessibility & contrast
On white
1.32
#E2E862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.95
#E2E862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E862
15.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E862 | 1.00 | 1.32 | 15.95 | 15.95 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8DE53
Deuteranopia (green-blind)
#F9E26A
Tritanopia (blue-blind)
#F0DBCB
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #e2e862; /* rgb */ color: rgb(226, 232, 98); /* oklch */ color: oklch(90.1% 0.156 111.5);
Tailwind
colors: {
custom: {
50: '#eeef93',
500: '#e2e862',
950: '#000000',
},
}SCSS
$custom: #e2e862; $custom-light: #eeef93; $custom-dark: #000000;
JSON
{
"hex": "#e2e862",
"rgb": {
"r": 226,
"g": 232,
"b": 98
},
"hsl": {
"h": 62.687,
"s": 74.444,
"l": 64.706
},
"oklch": {
"l": 0.90098,
"c": 0.15587,
"h": 111.5
},
"luminance": 0.74764
}Semantic roles & 50–950 ramp
primary
#E2E862
secondary
#3F39B5
accent
#0FD718
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F