#E2E271#E2E271
#E2E271 is a very light, vivid yellow. Relative luminance 0.718; OKLCH L 89.0% C 0.136 H 108.9°. Best body text is #000000 at 15.35:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E271 |
|---|---|
| RGB | rgb(226, 226, 113) |
| HSL | hsl(60, 66%, 66%) |
| HSV | hsv(60, 50%, 89%) |
| CMYK | cmyk(0%, 0%, 50%, 11.4%) |
| CIE-LAB | lab(87.85, -15.07, 54.61) |
| CIE-LCH | lch(87.85, 56.65, 105.43°) |
| OKLab | oklab(89% -0.044 0.1287) |
| OKLCH | oklch(89% 0.136 108.9) |
| XYZ | xyz(61.5425, 71.7552, 26.2278) |
| Luminance | 0.7175 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 4.28
Straw
#FCF679
ΔE00 4.93
Sandy Yellow
#FDEE73
ΔE00 5.10
Yellowish
#FAEE66
ΔE00 5.10
Dull Yellow
#EEDC5B
ΔE00 5.19
Manilla
#FFFA86
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E271 #7171E2
analogous
#E2AA71 #E2E271 #AAE271
triadic
#E2E271 #71E2E2 #E271E2
tetradic
#E2E271 #71E2AA #7171E2 #E271AA
square
#E2E271 #71E2AA #7171E2 #E271AA
split-complementary
#E2E271 #71AAE2 #AA71E2
monochromatic
#B4B425 #D8D83E #E2E271 #ECECA4 #F7F7D7
Accessibility & contrast
On white
1.37
#E2E271 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.35
#E2E271 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E271
15.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E271 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E271 | 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)
#F1DA66
Deuteranopia (green-blind)
#F3DE77
Tritanopia (blue-blind)
#EFD6C8
Achromatopsia (no color)
#DCDCDC
Design tokens & code
CSS
--color: #e2e271; /* rgb */ color: rgb(226, 226, 113); /* oklch */ color: oklch(89.0% 0.136 108.9);
Tailwind
colors: {
custom: {
50: '#edea9d',
500: '#e2e271',
950: '#000000',
},
}SCSS
$custom: #e2e271; $custom-light: #edea9d; $custom-dark: #000000;
JSON
{
"hex": "#e2e271",
"rgb": {
"r": 226,
"g": 226,
"b": 113
},
"hsl": {
"h": 60,
"s": 66.082,
"l": 66.471
},
"oklch": {
"l": 0.89003,
"c": 0.13601,
"h": 108.9
},
"luminance": 0.71754
}Semantic roles & 50–950 ramp
primary
#E2E271
secondary
#4242B5
accent
#18CE18
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F