#E2EA97#E2EA97

#E2EA97 is a very light, moderate yellow. Relative luminance 0.772; OKLCH L 91.2% C 0.105 H 113.0°. Best body text is #000000 at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#E2EA97
RGBrgb(226, 234, 151)
HSLhsl(66, 66%, 75%)
HSVhsv(66, 35%, 92%)
CMYKcmyk(3.4%, 0%, 35.5%, 8.2%)
CIE-LABlab(90.44, -15.18, 39.46)
CIE-LCHlch(90.44, 42.28, 111.04°)
OKLaboklab(91.22% -0.0412 0.0971)
OKLCHoklch(91.22% 0.105 113)
XYZxyz(66.3732, 77.2496, 40.6863)
Luminance0.7725 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2EA97 #9F97EA
analogous
#EAC897 #E2EA97 #B8EA97
triadic
#E2EA97 #97E2EA #EA97E2
tetradic
#E2EA97 #97EAC8 #9F97EA #EA97B8
square
#E2EA97 #97EAC8 #9F97EA #EA97B8
split-complementary
#E2EA97 #97B8EA #C897EA
monochromatic
#C6D531 #D4E064 #E2EA97 #F0F4CA #F8FAE6

Accessibility & contrast

On white

1.28
#E2EA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.45
#E2EA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2EA97
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2EA97#FFFFFF#000000##000000
##E2EA971.001.2816.4516.45
#FFFFFF1.281.0021.0021.00
#00000016.4521.001.001.00
##00000016.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E391
Deuteranopia (green-blind)
#F5E59B
Tritanopia (blue-blind)
#ECE1D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #e2ea97;
/* rgb */ color: rgb(226, 234, 151);
/* oklch */ color: oklch(91.2% 0.105 113.0);
Tailwind
colors: {
  custom: {
    50: '#ecf0b6',
    500: '#e2ea97',
    950: '#000000',
  },
}
SCSS
$custom: #e2ea97;
$custom-light: #ecf0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2ea97",
  "rgb": {
    "r": 226,
    "g": 234,
    "b": 151
  },
  "hsl": {
    "h": 65.783,
    "s": 66.4,
    "l": 75.49
  },
  "oklch": {
    "l": 0.91221,
    "c": 0.10549,
    "h": 113
  },
  "luminance": 0.77249
}

Semantic roles & 50–950 ramp

primary
#E2EA97
secondary
#6A60C5
accent
#17CE29
background
#FFFFFD
surface
#FEFEF8
border
#D6D6D1
text
#161611
muted
#858581

Preview Lab

Preview with #E2EA97

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#E2EA97 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva