#E2F987#E2F987

#E2F987 is a very light, vivid yellow-green. Relative luminance 0.857; OKLCH L 94.1% C 0.142 H 118.6°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#E2F987
RGBrgb(226, 249, 135)
HSLhsl(72, 90%, 75%)
HSVhsv(72, 46%, 98%)
CMYKcmyk(9.2%, 0%, 45.8%, 2.4%)
CIE-LABlab(94.17, -24.17, 51.93)
CIE-LCHlch(94.17, 57.28, 114.96°)
OKLaboklab(94.13% -0.0679 0.1245)
OKLCHoklch(94.13% 0.142 118.6)
XYZxyz(69.6134, 85.6698, 35.7856)
Luminance0.8567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F987 #9E87F9
analogous
#F9D787 #E2F987 #A9F987
triadic
#E2F987 #87E2F9 #F987E2
tetradic
#E2F987 #87F9D7 #9E87F9 #F987A9
square
#E2F987 #87F9D7 #9E87F9 #F987A9
split-complementary
#E2F987 #87A9F9 #D787F9
monochromatic
#C6F312 #D4F64D #E2F987 #F0FCC1 #F8FEE2

Accessibility & contrast

On white

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

On black

18.13
#E2F987 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F987
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F987#FFFFFF#000000##000000
##E2F9871.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE7D
Deuteranopia (green-blind)
#FFEF8D
Tritanopia (blue-blind)
#ECEEDE
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #e2f987;
/* rgb */ color: rgb(226, 249, 135);
/* oklch */ color: oklch(94.1% 0.142 118.6);
Tailwind
colors: {
  custom: {
    50: '#edfbac',
    500: '#e2f987',
    950: '#000000',
  },
}
SCSS
$custom: #e2f987;
$custom-light: #edfbac;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f987",
  "rgb": {
    "r": 226,
    "g": 249,
    "b": 135
  },
  "hsl": {
    "h": 72.105,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.94133,
    "c": 0.14181,
    "h": 118.6
  },
  "luminance": 0.85669
}

Semantic roles & 50–950 ramp

primary
#E2F987
secondary
#694DD7
accent
#00E62E
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #E2F987

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

Preview Lab → · Contrast checker → · Palette generator →

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