#E4E262#E4E262
#E4E262 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.0% C 0.149 H 108.3°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).
Color values
| HEX | #E4E262 |
|---|---|
| RGB | rgb(228, 226, 98) |
| HSL | hsl(59, 71%, 64%) |
| HSV | hsv(59, 57%, 89%) |
| CMYK | cmyk(0%, 0.9%, 57%, 10.6%) |
| CIE-LAB | lab(87.86, -15.44, 61.40) |
| CIE-LCH | lch(87.86, 63.31, 104.12°) |
| OKLab | oklab(89% -0.0467 0.1417) |
| OKLCH | oklch(89% 0.149 108.3) |
| XYZ | xyz(61.3977, 71.7702, 22.1717) |
| Luminance | 0.7177 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 3.96
Dull Yellow
#EEDC5B
ΔE00 4.10
Sandy Yellow
#FDEE73
ΔE00 4.48
Straw
#FCF679
ΔE00 4.58
Khaki (CSS)
#F0E68C
ΔE00 5.52
Manilla
#FFFA86
ΔE00 5.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4E262 #6264E4
analogous
#E4A162 #E4E262 #A5E462
triadic
#E4E262 #62E4E2 #E262E4
tetradic
#E4E262 #62E4A1 #6264E4 #E462A5
square
#E4E262 #62E4A1 #6264E4 #E462A5
split-complementary
#E4E262 #62A5E4 #A162E4
monochromatic
#AEAC1E #DBD82E #E4E262 #EDEC96 #F6F5CA
Accessibility & contrast
On white
1.37
#E4E262 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.35
#E4E262 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4E262
15.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4E262 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4E262 | 1.00 | 1.37 | 15.35 | 15.35 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F3DA54
Deuteranopia (green-blind)
#F5DF69
Tritanopia (blue-blind)
#F3D5C6
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #e4e262; /* rgb */ color: rgb(228, 226, 98); /* oklch */ color: oklch(89.0% 0.149 108.3);
Tailwind
colors: {
custom: {
50: '#efea93',
500: '#e4e262',
950: '#000000',
},
}SCSS
$custom: #e4e262; $custom-light: #efea93; $custom-dark: #000000;
JSON
{
"hex": "#e4e262",
"rgb": {
"r": 228,
"g": 226,
"b": 98
},
"hsl": {
"h": 59.077,
"s": 70.652,
"l": 63.922
},
"oklch": {
"l": 0.88999,
"c": 0.14918,
"h": 108.3
},
"luminance": 0.71769
}Semantic roles & 50–950 ramp
primary
#E4E262
secondary
#3B3DAF
accent
#16D313
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#17160D
muted
#85847F