#E2E956#E2E956
#E2E956 is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.2% C 0.166 H 111.9°. Best body text is #000000 at 16.02:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E956 |
|---|---|
| RGB | rgb(226, 233, 86) |
| HSL | hsl(63, 77%, 63%) |
| HSV | hsv(63, 63%, 91%) |
| CMYK | cmyk(3%, 0%, 63.1%, 8.6%) |
| CIE-LAB | lab(89.45, -20.46, 68.07) |
| CIE-LCH | lch(89.45, 71.08, 106.73°) |
| OKLab | oklab(90.2% -0.062 0.1543) |
| OKLCH | oklch(90.2% 0.166 111.9) |
| XYZ | xyz(62.1844, 75.1199, 20.0261) |
| Luminance | 0.7512 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 3.78
Off Yellow
#F1F33F
ΔE00 3.85
Yellowish
#FAEE66
ΔE00 4.75
Straw
#FCF679
ΔE00 4.85
Canary
#FDFF63
ΔE00 4.98
Butter Yellow
#FFFD74
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E956 #5D56E9
analogous
#E9A656 #E2E956 #99E956
triadic
#E2E956 #56E2E9 #E956E2
tetradic
#E2E956 #56E9A6 #5D56E9 #E95699
square
#E2E956 #56E9A6 #5D56E9 #E95699
split-complementary
#E2E956 #5699E9 #A656E9
monochromatic
#A7AE17 #D9E220 #E2E956 #EBF08C #F5F7C2
Accessibility & contrast
On white
1.31
#E2E956 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.02
#E2E956 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E956
16.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E956 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E956 | 1.00 | 1.31 | 16.02 | 16.02 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FADF43
Deuteranopia (green-blind)
#FAE360
Tritanopia (blue-blind)
#F1DCCB
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #e2e956; /* rgb */ color: rgb(226, 233, 86); /* oklch */ color: oklch(90.2% 0.166 111.9);
Tailwind
colors: {
custom: {
50: '#eeef8c',
500: '#e2e956',
950: '#000000',
},
}SCSS
$custom: #e2e956; $custom-light: #eeef8c; $custom-dark: #000000;
JSON
{
"hex": "#e2e956",
"rgb": {
"r": 226,
"g": 233,
"b": 86
},
"hsl": {
"h": 62.857,
"s": 76.963,
"l": 62.549
},
"oklch": {
"l": 0.90199,
"c": 0.16628,
"h": 111.9
},
"luminance": 0.75118
}Semantic roles & 50–950 ramp
primary
#E2E956
secondary
#3A34AF
accent
#0CD916
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F