#E2F97C#E2F97C

#E2F97C is a very light, vivid yellow-green. Relative luminance 0.854; OKLCH L 94.0% C 0.153 H 118.1°. Best body text is #000000 at 18.08:1 contrast (WCAG AA passes).

Color values

HEX#E2F97C
RGBrgb(226, 249, 124)
HSLhsl(71, 91%, 73%)
HSVhsv(71, 50%, 98%)
CMYKcmyk(9.2%, 0%, 50.2%, 2.4%)
CIE-LABlab(94.04, -25.22, 56.88)
CIE-LCHlch(94.04, 62.22, 113.91°)
OKLaboklab(93.99% -0.0717 0.1346)
OKLCHoklch(93.99% 0.153 118.1)
XYZxyz(68.8786, 85.3759, 31.9155)
Luminance0.8538 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F97C #937CF9
analogous
#F9D17C #E2F97C #A3F97C
triadic
#E2F97C #7CE2F9 #F97CE2
tetradic
#E2F97C #7CF9D1 #937CF9 #F97CA3
square
#E2F97C #7CF9D1 #937CF9 #F97CA3
split-complementary
#E2F97C #7CA3F9 #D17CF9
monochromatic
#C6F00B #D5F641 #E2F97C #EFFCB7 #F9FEE2

Accessibility & contrast

On white

1.16
#E2F97C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.08
#E2F97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F97C
18.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F97C#FFFFFF#000000##000000
##E2F97C1.001.1618.0818.08
#FFFFFF1.161.0021.0021.00
#00000018.0821.001.001.00
##00000018.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE70
Deuteranopia (green-blind)
#FFEF83
Tritanopia (blue-blind)
#EDEEDD
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #e2f97c;
/* rgb */ color: rgb(226, 249, 124);
/* oklch */ color: oklch(94.0% 0.153 118.1);
Tailwind
colors: {
  custom: {
    50: '#edfba5',
    500: '#e2f97c',
    950: '#000000',
  },
}
SCSS
$custom: #e2f97c;
$custom-light: #edfba5;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f97c",
  "rgb": {
    "r": 226,
    "g": 249,
    "b": 124
  },
  "hsl": {
    "h": 71.04,
    "s": 91.241,
    "l": 73.137
  },
  "oklch": {
    "l": 0.93991,
    "c": 0.15252,
    "h": 118.1
  },
  "luminance": 0.85375
}

Semantic roles & 50–950 ramp

primary
#E2F97C
secondary
#5E44D6
accent
#00E62A
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E2F97C

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

Preview Lab → · Contrast checker → · Palette generator →

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