#E4E266#E4E266
#E4E266 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.0% C 0.146 H 108.2°. Best body text is #000000 at 15.37:1 contrast (WCAG AA passes).
Color values
| HEX | #E4E266 |
|---|---|
| RGB | rgb(228, 226, 102) |
| HSL | hsl(59, 70%, 65%) |
| HSV | hsv(59, 55%, 89%) |
| CMYK | cmyk(0%, 0.9%, 55.3%, 10.6%) |
| CIE-LAB | lab(87.90, -15.15, 59.69) |
| CIE-LCH | lch(87.90, 61.58, 104.24°) |
| OKLab | oklab(89.04% -0.0455 0.1385) |
| OKLCH | oklch(89.04% 0.146 108.2) |
| XYZ | xyz(61.5913, 71.8477, 23.1913) |
| Luminance | 0.7185 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowish
#FAEE66
ΔE00 4.10
Dull Yellow
#EEDC5B
ΔE00 4.21
Sandy Yellow
#FDEE73
ΔE00 4.46
Straw
#FCF679
ΔE00 4.55
Khaki (CSS)
#F0E68C
ΔE00 5.13
Manilla
#FFFA86
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E4E266 #6668E4
analogous
#E4A366 #E4E266 #A7E466
triadic
#E4E266 #66E4E2 #E266E4
tetradic
#E4E266 #66E4A3 #6668E4 #E466A7
square
#E4E266 #66E4A3 #6668E4 #E466A7
split-complementary
#E4E266 #66A7E4 #A366E4
monochromatic
#B0AE1F #DBD832 #E4E266 #EDEC9A #F6F6CE
Accessibility & contrast
On white
1.37
#E4E266 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.37
#E4E266 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E4E266
15.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E4E266 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E4E266 | 1.00 | 1.37 | 15.37 | 15.37 |
| #FFFFFF | 1.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2DA59
Deuteranopia (green-blind)
#F5DF6D
Tritanopia (blue-blind)
#F2D5C7
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #e4e266; /* rgb */ color: rgb(228, 226, 102); /* oklch */ color: oklch(89.0% 0.146 108.2);
Tailwind
colors: {
custom: {
50: '#efea96',
500: '#e4e266',
950: '#000000',
},
}SCSS
$custom: #e4e266; $custom-light: #efea96; $custom-dark: #000000;
JSON
{
"hex": "#e4e266",
"rgb": {
"r": 228,
"g": 226,
"b": 102
},
"hsl": {
"h": 59.048,
"s": 70,
"l": 64.706
},
"oklch": {
"l": 0.89041,
"c": 0.14576,
"h": 108.2
},
"luminance": 0.71846
}Semantic roles & 50–950 ramp
primary
#E4E266
secondary
#3D3FB1
accent
#17D214
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F