#E2E462#E2E462
#E2E462 is a very light, vivid yellow. Relative luminance 0.725; OKLCH L 89.3% C 0.152 H 109.9°. Best body text is #000000 at 15.51:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E462 |
|---|---|
| RGB | rgb(226, 228, 98) |
| HSL | hsl(61, 71%, 64%) |
| HSV | hsv(61, 57%, 89%) |
| CMYK | cmyk(0.9%, 0%, 57%, 10.6%) |
| CIE-LAB | lab(88.23, -17.23, 61.77) |
| CIE-LCH | lch(88.23, 64.13, 105.59°) |
| OKLab | oklab(89.26% -0.0517 0.1425) |
| OKLCH | oklch(89.26% 0.152 109.9) |
| XYZ | xyz(61.3137, 72.5389, 22.3245) |
| Luminance | 0.7254 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 4.40
Straw
#FCF679
ΔE00 4.61
Sandy Yellow
#FDEE73
ΔE00 5.03
Dull Yellow
#EEDC5B
ΔE00 5.07
Sickly Yellow
#D0E429
ΔE00 5.25
Yellowish Tan
#FCFC81
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E462 #6462E4
analogous
#E4A562 #E2E462 #A1E462
triadic
#E2E462 #62E2E4 #E462E2
tetradic
#E2E462 #62E4A5 #6462E4 #E462A1
square
#E2E462 #62E4A5 #6462E4 #E462A1
split-complementary
#E2E462 #62A1E4 #A562E4
monochromatic
#ACAE1E #D8DB2E #E2E462 #ECED96 #F5F6CA
Accessibility & contrast
On white
1.35
#E2E462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.51
#E2E462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E462
15.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E462 | 1.00 | 1.35 | 15.51 | 15.51 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F4DB54
Deuteranopia (green-blind)
#F6DF69
Tritanopia (blue-blind)
#F0D7C8
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #e2e462; /* rgb */ color: rgb(226, 228, 98); /* oklch */ color: oklch(89.3% 0.152 109.9);
Tailwind
colors: {
custom: {
50: '#eeec93',
500: '#e2e462',
950: '#000000',
},
}SCSS
$custom: #e2e462; $custom-light: #eeec93; $custom-dark: #000000;
JSON
{
"hex": "#e2e462",
"rgb": {
"r": 226,
"g": 228,
"b": 98
},
"hsl": {
"h": 60.923,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.89255,
"c": 0.15159,
"h": 109.9
},
"luminance": 0.72537
}Semantic roles & 50–950 ramp
primary
#E2E462
secondary
#3D3BAF
accent
#13D316
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160D
muted
#85847F