#E2F787#E2F787

#E2F787 is a very light, vivid yellow-green. Relative luminance 0.844; OKLCH L 93.7% C 0.139 H 117.9°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#E2F787
RGBrgb(226, 247, 135)
HSLhsl(71, 88%, 75%)
HSVhsv(71, 45%, 97%)
CMYKcmyk(8.5%, 0%, 45.3%, 3.1%)
CIE-LABlab(93.64, -23.22, 51.28)
CIE-LCHlch(93.64, 56.29, 114.36°)
OKLaboklab(93.71% -0.0652 0.1231)
OKLCHoklch(93.71% 0.139 117.9)
XYZxyz(68.9985, 84.4400, 35.5806)
Luminance0.8444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F787 #9C87F7
analogous
#F7D487 #E2F787 #AAF787
triadic
#E2F787 #87E2F7 #F787E2
tetradic
#E2F787 #87F7D4 #9C87F7 #F787AA
square
#E2F787 #87F7D4 #9C87F7 #F787AA
split-complementary
#E2F787 #87AAF7 #D487F7
monochromatic
#C6EF14 #D4F34E #E2F787 #F0FBC0 #F8FDE2

Accessibility & contrast

On white

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

On black

17.89
#E2F787 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F787
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F787#FFFFFF#000000##000000
##E2F7871.001.1717.8917.89
#FFFFFF1.171.0021.0021.00
#00000017.8921.001.001.00
##00000017.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC7E
Deuteranopia (green-blind)
#FFED8D
Tritanopia (blue-blind)
#ECECDD
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #e2f787;
/* rgb */ color: rgb(226, 247, 135);
/* oklch */ color: oklch(93.7% 0.139 117.9);
Tailwind
colors: {
  custom: {
    50: '#edf9ac',
    500: '#e2f787',
    950: '#000000',
  },
}
SCSS
$custom: #e2f787;
$custom-light: #edf9ac;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f787",
  "rgb": {
    "r": 226,
    "g": 247,
    "b": 135
  },
  "hsl": {
    "h": 71.25,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.93709,
    "c": 0.13927,
    "h": 117.9
  },
  "luminance": 0.8444
}

Semantic roles & 50–950 ramp

primary
#E2F787
secondary
#674ED4
accent
#01E42C
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #E2F787

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

Preview Lab → · Contrast checker → · Palette generator →

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