#E2F796#E2F796

#E2F796 is a very light, vivid yellow-green. Relative luminance 0.849; OKLCH L 93.9% C 0.124 H 118.8°. Best body text is #000000 at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#E2F796
RGBrgb(226, 247, 150)
HSLhsl(73, 86%, 78%)
HSVhsv(73, 39%, 97%)
CMYKcmyk(8.5%, 0%, 39.3%, 3.1%)
CIE-LABlab(93.84, -21.62, 44.32)
CIE-LCHlch(93.84, 49.31, 116.01°)
OKLaboklab(93.93% -0.0595 0.1082)
OKLCHoklch(93.93% 0.124 118.8)
XYZxyz(70.1300, 84.8926, 41.5396)
Luminance0.8489 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F796 #AB96F7
analogous
#F7DC96 #E2F796 #B1F796
triadic
#E2F796 #96E2F7 #F796E2
tetradic
#E2F796 #96F7DC #AB96F7 #F796B1
square
#E2F796 #96F7DC #AB96F7 #F796B1
split-complementary
#E2F796 #96B1F7 #DC96F7
monochromatic
#C3EE24 #D2F35D #E2F796 #F2FBCF #F7FDE3

Accessibility & contrast

On white

1.17
#E2F796 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.98
#E2F796 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F796
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F796#FFFFFF#000000##000000
##E2F7961.001.1717.9817.98
#FFFFFF1.171.0021.0021.00
#00000017.9821.001.001.00
##00000017.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED8F
Deuteranopia (green-blind)
#FFEE9B
Tritanopia (blue-blind)
#EBEEDF
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #e2f796;
/* rgb */ color: rgb(226, 247, 150);
/* oklch */ color: oklch(93.9% 0.124 118.8);
Tailwind
colors: {
  custom: {
    50: '#ecf9b6',
    500: '#e2f796',
    950: '#000000',
  },
}
SCSS
$custom: #e2f796;
$custom-light: #ecf9b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f796",
  "rgb": {
    "r": 226,
    "g": 247,
    "b": 150
  },
  "hsl": {
    "h": 72.99,
    "s": 85.841,
    "l": 77.843
  },
  "oklch": {
    "l": 0.93929,
    "c": 0.12354,
    "h": 118.8
  },
  "luminance": 0.84892
}

Semantic roles & 50–950 ramp

primary
#E2F796
secondary
#765BD6
accent
#03E233
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#161711
muted
#858581

Preview Lab

Preview with #E2F796

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

Preview Lab → · Contrast checker → · Palette generator →

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