#E2E970#E2E970
#E2E970 is a very light, vivid yellow. Relative luminance 0.756; OKLCH L 90.5% C 0.145 H 111.9°. Best body text is #000000 at 16.12:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E970 |
|---|---|
| RGB | rgb(226, 233, 112) |
| HSL | hsl(63, 73%, 68%) |
| HSV | hsv(63, 52%, 91%) |
| CMYK | cmyk(3%, 0%, 51.9%, 8.6%) |
| CIE-LAB | lab(89.68, -18.59, 57.21) |
| CIE-LCH | lch(89.68, 60.16, 108.00°) |
| OKLab | oklab(90.46% -0.0541 0.1343) |
| OKLCH | oklch(90.46% 0.145 111.9) |
| XYZ | xyz(63.4289, 75.6177, 26.5804) |
| Luminance | 0.7562 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Straw
#FCF679
ΔE00 4.53
Yellowish Tan
#FCFC81
ΔE00 4.57
Manilla
#FFFA86
ΔE00 4.97
Faded Yellow
#FEFF7F
ΔE00 5.08
Pale Yellow
#FFFF84
ΔE00 5.14
Butter
#FFFF81
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E970 #7770E9
analogous
#E9B370 #E2E970 #A6E970
triadic
#E2E970 #70E2E9 #E970E2
tetradic
#E2E970 #70E9B3 #7770E9 #E970A6
square
#E2E970 #70E9B3 #7770E9 #E970A6
split-complementary
#E2E970 #70A6E9 #B370E9
monochromatic
#B7C11E #D7E13B #E2E970 #EDF1A5 #F8F9DA
Accessibility & contrast
On white
1.30
#E2E970 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.12
#E2E970 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E970
16.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E970 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E970 | 1.00 | 1.30 | 16.12 | 16.12 |
| #FFFFFF | 1.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F8E064
Deuteranopia (green-blind)
#F9E377
Tritanopia (blue-blind)
#EFDDCE
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #e2e970; /* rgb */ color: rgb(226, 233, 112); /* oklch */ color: oklch(90.5% 0.145 111.9);
Tailwind
colors: {
custom: {
50: '#edef9c',
500: '#e2e970',
950: '#000000',
},
}SCSS
$custom: #e2e970; $custom-light: #edef9c; $custom-dark: #000000;
JSON
{
"hex": "#e2e970",
"rgb": {
"r": 226,
"g": 233,
"b": 112
},
"hsl": {
"h": 63.471,
"s": 73.333,
"l": 67.647
},
"oklch": {
"l": 0.9046,
"c": 0.14474,
"h": 111.9
},
"luminance": 0.75616
}Semantic roles & 50–950 ramp
primary
#E2E970
secondary
#453EC0
accent
#10D51B
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17160E
muted
#85857F