#E2E770#E2E770
#E2E770 is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 90.0% C 0.142 H 111.1°. Best body text is #000000 at 15.90:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E770 |
|---|---|
| RGB | rgb(226, 231, 112) |
| HSL | hsl(63, 71%, 67%) |
| HSV | hsv(63, 52%, 91%) |
| CMYK | cmyk(2.2%, 0%, 51.5%, 9.4%) |
| CIE-LAB | lab(89.15, -17.61, 56.60) |
| CIE-LCH | lch(89.15, 59.28, 107.28°) |
| OKLab | oklab(90.04% -0.0513 0.1329) |
| OKLCH | oklch(90.04% 0.142 111.1) |
| XYZ | xyz(62.8659, 74.4918, 26.3928) |
| Luminance | 0.7449 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 4.55
Yellowish Tan
#FCFC81
ΔE00 4.78
Manilla
#FFFA86
ΔE00 5.02
Yellowish
#FAEE66
ΔE00 5.20
Khaki (CSS)
#F0E68C
ΔE00 5.26
Faded Yellow
#FEFF7F
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E770 #7570E7
analogous
#E7B170 #E2E770 #A7E770
triadic
#E2E770 #70E2E7 #E770E2
tetradic
#E2E770 #70E7B1 #7570E7 #E770A7
square
#E2E770 #70E7B1 #7570E7 #E770A7
split-complementary
#E2E770 #70A7E7 #B170E7
monochromatic
#B6BD20 #D7DE3C #E2E770 #EDF0A4 #F7F9D9
Accessibility & contrast
On white
1.32
#E2E770 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.90
#E2E770 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E770
15.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E770 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E770 | 1.00 | 1.32 | 15.90 | 15.90 |
| #FFFFFF | 1.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DE65
Deuteranopia (green-blind)
#F7E276
Tritanopia (blue-blind)
#EFDBCC
Achromatopsia (no color)
#E0E0E0
Design tokens & code
CSS
--color: #e2e770; /* rgb */ color: rgb(226, 231, 112); /* oklch */ color: oklch(90.0% 0.142 111.1);
Tailwind
colors: {
custom: {
50: '#edee9c',
500: '#e2e770',
950: '#000000',
},
}SCSS
$custom: #e2e770; $custom-light: #edee9c; $custom-dark: #000000;
JSON
{
"hex": "#e2e770",
"rgb": {
"r": 226,
"g": 231,
"b": 112
},
"hsl": {
"h": 62.521,
"s": 71.257,
"l": 67.255
},
"oklch": {
"l": 0.90039,
"c": 0.14248,
"h": 111.1
},
"luminance": 0.7449
}Semantic roles & 50–950 ramp
primary
#E2E770
secondary
#443FBC
accent
#12D31A
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F