#E2E962#E2E962
#E2E962 is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.3% C 0.157 H 111.9°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E962 |
|---|---|
| RGB | rgb(226, 233, 98) |
| HSL | hsl(63, 75%, 65%) |
| HSV | hsv(63, 58%, 91%) |
| CMYK | cmyk(3%, 0%, 57.9%, 8.6%) |
| CIE-LAB | lab(89.55, -19.67, 63.23) |
| CIE-LCH | lch(89.55, 66.22, 107.28°) |
| OKLab | oklab(90.31% -0.0586 0.1456) |
| OKLCH | oklch(90.31% 0.157 111.9) |
| XYZ | xyz(62.7091, 75.3298, 22.7896) |
| Luminance | 0.7533 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 4.51
Sickly Yellow
#D0E429
ΔE00 4.64
Yellowish Tan
#FCFC81
ΔE00 4.77
Off Yellow
#F1F33F
ΔE00 4.84
Yellowish
#FAEE66
ΔE00 4.84
Custard
#FFFD78
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E962 #6962E9
analogous
#E9AC62 #E2E962 #9FE962
triadic
#E2E962 #62E2E9 #E962E2
tetradic
#E2E962 #62E9AC #6962E9 #E9629F
square
#E2E962 #62E9AC #6962E9 #E9629F
split-complementary
#E2E962 #629FE9 #AC62E9
monochromatic
#AFB71A #D8E12C #E2E962 #ECF198 #F6F8CD
Accessibility & contrast
On white
1.31
#E2E962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.07
#E2E962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E962
16.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E962 | 1.00 | 1.31 | 16.07 | 16.07 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F9DF53
Deuteranopia (green-blind)
#FAE36A
Tritanopia (blue-blind)
#F0DCCC
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #e2e962; /* rgb */ color: rgb(226, 233, 98); /* oklch */ color: oklch(90.3% 0.157 111.9);
Tailwind
colors: {
custom: {
50: '#eeef93',
500: '#e2e962',
950: '#000000',
},
}SCSS
$custom: #e2e962; $custom-light: #eeef93; $custom-dark: #000000;
JSON
{
"hex": "#e2e962",
"rgb": {
"r": 226,
"g": 233,
"b": 98
},
"hsl": {
"h": 63.111,
"s": 75.419,
"l": 64.902
},
"oklch": {
"l": 0.90309,
"c": 0.15696,
"h": 111.9
},
"luminance": 0.75328
}Semantic roles & 50–950 ramp
primary
#E2E962
secondary
#3F38B7
accent
#0ED818
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17160D
muted
#85857F