#E2E997#E2E997
#E2E997 is a very light, moderate yellow. Relative luminance 0.767; OKLCH L 91.0% C 0.104 H 112.4°. Best body text is #000000 at 16.34:1 contrast (WCAG AA passes).
Color values
| HEX | #E2E997 |
|---|---|
| RGB | rgb(226, 233, 151) |
| HSL | hsl(65, 65%, 75%) |
| HSV | hsv(65, 35%, 91%) |
| CMYK | cmyk(3%, 0%, 35.2%, 8.6%) |
| CIE-LAB | lab(90.17, -14.69, 39.12) |
| CIE-LCH | lch(90.17, 41.78, 110.58°) |
| OKLab | oklab(91.01% -0.0398 0.0963) |
| OKLCH | oklch(91.01% 0.104 112.4) |
| XYZ | xyz(66.0893, 76.6818, 40.5917) |
| Luminance | 0.7668 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Khaki
#E6F2A2
ΔE00 2.24
Khaki (CSS)
#F0E68C
ΔE00 4.82
Palegoldenrod
#EEE8AA
ΔE00 4.97
Parchment
#FEFCAF
ΔE00 5.05
Buff
#FEF69E
ΔE00 5.27
Creme
#FFFFB6
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E2E997 #9E97E9
analogous
#E9C797 #E2E997 #B9E997
triadic
#E2E997 #97E2E9 #E997E2
tetradic
#E2E997 #97E9C7 #9E97E9 #E997B9
square
#E2E997 #97E9C7 #9E97E9 #E997B9
split-complementary
#E2E997 #97B9E9 #C797E9
monochromatic
#C6D432 #D4DE64 #E2E997 #F0F4CA #F8FAE6
Accessibility & contrast
On white
1.29
#E2E997 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.34
#E2E997 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E2E997
16.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E2E997 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E2E997 | 1.00 | 1.29 | 16.34 | 16.34 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F5E291
Deuteranopia (green-blind)
#F5E49B
Tritanopia (blue-blind)
#ECE0D4
Achromatopsia (no color)
#E3E3E3
Design tokens & code
CSS
--color: #e2e997; /* rgb */ color: rgb(226, 233, 151); /* oklch */ color: oklch(91.0% 0.104 112.4);
Tailwind
colors: {
custom: {
50: '#ecf0b6',
500: '#e2e997',
950: '#000000',
},
}SCSS
$custom: #e2e997; $custom-light: #ecf0b6; $custom-dark: #000000;
JSON
{
"hex": "#e2e997",
"rgb": {
"r": 226,
"g": 233,
"b": 151
},
"hsl": {
"h": 65.122,
"s": 65.079,
"l": 75.294
},
"oklch": {
"l": 0.91013,
"c": 0.10423,
"h": 112.4
},
"luminance": 0.76681
}Semantic roles & 50–950 ramp
primary
#E2E997
secondary
#6960C4
accent
#19CD28
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581