#E2F798#E2F798

#E2F798 is a very light, vivid yellow-green. Relative luminance 0.850; OKLCH L 94.0% C 0.121 H 119.0°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#E2F798
RGBrgb(226, 247, 152)
HSLhsl(73, 86%, 78%)
HSVhsv(73, 38%, 97%)
CMYKcmyk(8.5%, 0%, 38.5%, 3.1%)
CIE-LABlab(93.86, -21.39, 43.38)
CIE-LCHlch(93.86, 48.37, 116.25°)
OKLaboklab(93.96% -0.0588 0.1062)
OKLCHoklch(93.96% 0.121 119)
XYZxyz(70.2924, 84.9576, 42.3950)
Luminance0.8496 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F798 #AD98F7
analogous
#F7DC98 #E2F798 #B2F798
triadic
#E2F798 #98E2F7 #F798E2
tetradic
#E2F798 #98F7DC #AD98F7 #F798B2
square
#E2F798 #98F7DC #AD98F7 #F798B2
split-complementary
#E2F798 #98B2F7 #DC98F7
monochromatic
#C2EE26 #D2F35F #E2F798 #F2FBD1 #F7FDE3

Accessibility & contrast

On white

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

On black

17.99
#E2F798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F798
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F798#FFFFFF#000000##000000
##E2F7981.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED91
Deuteranopia (green-blind)
#FFEE9D
Tritanopia (blue-blind)
#EBEEE0
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #e2f798;
/* rgb */ color: rgb(226, 247, 152);
/* oklch */ color: oklch(94.0% 0.121 119.0);
Tailwind
colors: {
  custom: {
    50: '#ecf9b7',
    500: '#e2f798',
    950: '#000000',
  },
}
SCSS
$custom: #e2f798;
$custom-light: #ecf9b7;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f798",
  "rgb": {
    "r": 226,
    "g": 247,
    "b": 152
  },
  "hsl": {
    "h": 73.263,
    "s": 85.586,
    "l": 78.235
  },
  "oklch": {
    "l": 0.9396,
    "c": 0.12136,
    "h": 119
  },
  "luminance": 0.84957
}

Semantic roles & 50–950 ramp

primary
#E2F798
secondary
#785DD6
accent
#03E235
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#161711
muted
#858581

Preview Lab

Preview with #E2F798

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

Preview Lab → · Contrast checker → · Palette generator →

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