#E7F896#E7F896

#E7F896 is a very light, vivid yellow-green. Relative luminance 0.863; OKLCH L 94.5% C 0.123 H 116.9°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#E7F896
RGBrgb(231, 248, 150)
HSLhsl(70, 88%, 78%)
HSVhsv(70, 40%, 97%)
CMYKcmyk(6.9%, 0%, 39.5%, 2.7%)
CIE-LABlab(94.45, -20.23, 45.17)
CIE-LCHlch(94.45, 49.50, 114.13°)
OKLaboklab(94.51% -0.0558 0.1102)
OKLCHoklch(94.51% 0.123 116.9)
XYZxyz(72.0278, 86.3263, 41.7164)
Luminance0.8633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F896 #A796F8
analogous
#F8D896 #E7F896 #B6F896
triadic
#E7F896 #96E7F8 #F896E7
tetradic
#E7F896 #96F8D8 #A796F8 #F896B6
square
#E7F896 #96F8D8 #A796F8 #F896B6
split-complementary
#E7F896 #96B6F8 #D896F8
monochromatic
#CDF023 #DAF45D #E7F896 #F4FCCF #F8FDE2

Accessibility & contrast

On white

1.15
#E7F896 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#E7F896 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F896
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F896#FFFFFF#000000##000000
##E7F8961.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF8E
Deuteranopia (green-blind)
#FFF09B
Tritanopia (blue-blind)
#F1EEE0
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #e7f896;
/* rgb */ color: rgb(231, 248, 150);
/* oklch */ color: oklch(94.5% 0.123 116.9);
Tailwind
colors: {
  custom: {
    50: '#f0fab6',
    500: '#e7f896',
    950: '#000000',
  },
}
SCSS
$custom: #e7f896;
$custom-light: #f0fab6;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f896",
  "rgb": {
    "r": 231,
    "g": 248,
    "b": 150
  },
  "hsl": {
    "h": 70.408,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.94507,
    "c": 0.12348,
    "h": 116.9
  },
  "luminance": 0.86326
}

Semantic roles & 50–950 ramp

primary
#E7F896
secondary
#705BD8
accent
#01E429
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171711
muted
#858581

Preview Lab

Preview with #E7F896

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

Preview Lab → · Contrast checker → · Palette generator →

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