#E2F878#E2F878

#E2F878 is a very light, vivid yellow-green. Relative luminance 0.847; OKLCH L 93.7% C 0.155 H 117.6°. Best body text is #000000 at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#E2F878
RGBrgb(226, 248, 120)
HSLhsl(70, 90%, 72%)
HSVhsv(70, 52%, 97%)
CMYKcmyk(8.9%, 0%, 51.6%, 2.7%)
CIE-LABlab(93.74, -25.10, 58.33)
CIE-LCHlch(93.74, 63.50, 113.29°)
OKLaboklab(93.73% -0.0718 0.1374)
OKLCHoklch(93.73% 0.155 117.6)
XYZxyz(68.3225, 84.6602, 30.5075)
Luminance0.8466 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F878 #8E78F8
analogous
#F8CE78 #E2F878 #A2F878
triadic
#E2F878 #78E2F8 #F878E2
tetradic
#E2F878 #78F8CE #8E78F8 #F878A2
square
#E2F878 #78F8CE #8E78F8 #F878A2
split-complementary
#E2F878 #78A2F8 #CE78F8
monochromatic
#C3E90C #D6F53E #E2F878 #EEFBB2 #F9FDE2

Accessibility & contrast

On white

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

On black

17.93
#E2F878 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F878
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F878#FFFFFF#000000##000000
##E2F8781.001.1717.9317.93
#FFFFFF1.171.0021.0021.00
#00000017.9321.001.001.00
##00000017.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6C
Deuteranopia (green-blind)
#FFEE7F
Tritanopia (blue-blind)
#EDECDB
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #e2f878;
/* rgb */ color: rgb(226, 248, 120);
/* oklch */ color: oklch(93.7% 0.155 117.6);
Tailwind
colors: {
  custom: {
    50: '#edfaa2',
    500: '#e2f878',
    950: '#000000',
  },
}
SCSS
$custom: #e2f878;
$custom-light: #edfaa2;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f878",
  "rgb": {
    "r": 226,
    "g": 248,
    "b": 120
  },
  "hsl": {
    "h": 70.313,
    "s": 90.141,
    "l": 72.157
  },
  "oklch": {
    "l": 0.9373,
    "c": 0.15502,
    "h": 117.6
  },
  "luminance": 0.8466
}

Semantic roles & 50–950 ramp

primary
#E2F878
secondary
#5A40D4
accent
#00E627
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E2F878

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

Preview Lab → · Contrast checker → · Palette generator →

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