#E2F781#E2F781

#E2F781 is a very light, vivid yellow-green. Relative luminance 0.843; OKLCH L 93.6% C 0.145 H 117.6°. Best body text is #000000 at 17.86:1 contrast (WCAG AA passes).

Color values

HEX#E2F781
RGBrgb(226, 247, 129)
HSLhsl(71, 88%, 74%)
HSVhsv(71, 48%, 97%)
CMYKcmyk(8.5%, 0%, 47.8%, 3.1%)
CIE-LABlab(93.57, -23.81, 54.01)
CIE-LCHlch(93.57, 59.02, 113.79°)
OKLaboklab(93.63% -0.0673 0.1287)
OKLCHoklch(93.63% 0.145 117.6)
XYZxyz(68.5879, 84.2758, 33.4182)
Luminance0.8427 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F781 #9681F7
analogous
#F7D181 #E2F781 #A7F781
triadic
#E2F781 #81E2F7 #F781E2
tetradic
#E2F781 #81F7D1 #9681F7 #F781A7
square
#E2F781 #81F7D1 #9681F7 #F781A7
split-complementary
#E2F781 #81A7F7 #D181F7
monochromatic
#C7EE0F #D5F347 #E2F781 #EFFBBB #F8FDE2

Accessibility & contrast

On white

1.18
#E2F781 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.86
#E2F781 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F781
17.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F781#FFFFFF#000000##000000
##E2F7811.001.1817.8617.86
#FFFFFF1.181.0021.0021.00
#00000017.8621.001.001.00
##00000017.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC77
Deuteranopia (green-blind)
#FFED87
Tritanopia (blue-blind)
#EDECDC
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #e2f781;
/* rgb */ color: rgb(226, 247, 129);
/* oklch */ color: oklch(93.6% 0.145 117.6);
Tailwind
colors: {
  custom: {
    50: '#edf9a8',
    500: '#e2f781',
    950: '#000000',
  },
}
SCSS
$custom: #e2f781;
$custom-light: #edf9a8;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f781",
  "rgb": {
    "r": 226,
    "g": 247,
    "b": 129
  },
  "hsl": {
    "h": 70.678,
    "s": 88.06,
    "l": 73.725
  },
  "oklch": {
    "l": 0.93629,
    "c": 0.14523,
    "h": 117.6
  },
  "luminance": 0.84275
}

Semantic roles & 50–950 ramp

primary
#E2F781
secondary
#6149D4
accent
#01E529
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#161710
muted
#858581

Preview Lab

Preview with #E2F781

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

Preview Lab → · Contrast checker → · Palette generator →

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