#E2FA97#E2FA97

#E2FA97 is a very light, vivid yellow-green. Relative luminance 0.868; OKLCH L 94.6% C 0.126 H 120.0°. Best body text is #000000 at 18.35:1 contrast (WCAG AA passes).

Color values

HEX#E2FA97
RGBrgb(226, 250, 151)
HSLhsl(75, 91%, 79%)
HSVhsv(75, 40%, 98%)
CMYKcmyk(9.6%, 0%, 39.6%, 2%)
CIE-LABlab(94.64, -22.95, 44.86)
CIE-LCHlch(94.64, 50.39, 117.09°)
OKLaboklab(94.58% -0.0632 0.1095)
OKLCHoklch(94.58% 0.126 120)
XYZxyz(71.1356, 86.7745, 42.2738)
Luminance0.8677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2FA97 #AF97FA
analogous
#FAE097 #E2FA97 #B0FA97
triadic
#E2FA97 #97E2FA #FA97E2
tetradic
#E2FA97 #97FAE0 #AF97FA #FA97B0
square
#E2FA97 #97FAE0 #AF97FA #FA97B0
split-complementary
#E2FA97 #97B0FA #E097FA
monochromatic
#C1F422 #D2F75D #E2FA97 #F2FDD1 #F7FEE2

Accessibility & contrast

On white

1.14
#E2FA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.35
#E2FA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2FA97
18.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2FA97#FFFFFF#000000##000000
##E2FA971.001.1418.3518.35
#FFFFFF1.141.0021.0021.00
#00000018.3521.001.001.00
##00000018.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF08F
Deuteranopia (green-blind)
#FFF09C
Tritanopia (blue-blind)
#EAF1E2
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #e2fa97;
/* rgb */ color: rgb(226, 250, 151);
/* oklch */ color: oklch(94.6% 0.126 120.0);
Tailwind
colors: {
  custom: {
    50: '#ecfcb7',
    500: '#e2fa97',
    950: '#000000',
  },
}
SCSS
$custom: #e2fa97;
$custom-light: #ecfcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2fa97",
  "rgb": {
    "r": 226,
    "g": 250,
    "b": 151
  },
  "hsl": {
    "h": 74.545,
    "s": 90.826,
    "l": 78.627
  },
  "oklch": {
    "l": 0.94577,
    "c": 0.12646,
    "h": 120
  },
  "luminance": 0.86774
}

Semantic roles & 50–950 ramp

primary
#E2FA97
secondary
#7A5BDA
accent
#00E638
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#161711
muted
#858581

Preview Lab

Preview with #E2FA97

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

Preview Lab → · Contrast checker → · Palette generator →

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