#E2F874#E2F874

#E2F874 is a very light, vivid yellow-green. Relative luminance 0.846; OKLCH L 93.7% C 0.159 H 117.4°. Best body text is #000000 at 17.91:1 contrast (WCAG AA passes).

Color values

HEX#E2F874
RGBrgb(226, 248, 116)
HSLhsl(70, 90%, 71%)
HSVhsv(70, 53%, 97%)
CMYKcmyk(8.9%, 0%, 53.2%, 2.7%)
CIE-LABlab(93.70, -25.45, 60.07)
CIE-LCHlch(93.70, 65.24, 112.96°)
OKLaboklab(93.68% -0.0731 0.1408)
OKLCHoklch(93.68% 0.159 117.4)
XYZxyz(68.0848, 84.5651, 29.2556)
Luminance0.8457 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F874 #8A74F8
analogous
#F8CC74 #E2F874 #A0F874
triadic
#E2F874 #74E2F8 #F874E2
tetradic
#E2F874 #74F8CC #8A74F8 #F874A0
square
#E2F874 #74F8CC #8A74F8 #F874A0
split-complementary
#E2F874 #74A0F8 #CC74F8
monochromatic
#C2E60C #D6F53A #E2F874 #EEFBAE #F9FEE2

Accessibility & contrast

On white

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

On black

17.91
#E2F874 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F874
17.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F874#FFFFFF#000000##000000
##E2F8741.001.1717.9117.91
#FFFFFF1.171.0021.0021.00
#00000017.9121.001.001.00
##00000017.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC67
Deuteranopia (green-blind)
#FFEE7C
Tritanopia (blue-blind)
#EEECDB
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #e2f874;
/* rgb */ color: rgb(226, 248, 116);
/* oklch */ color: oklch(93.7% 0.159 117.4);
Tailwind
colors: {
  custom: {
    50: '#edfaa0',
    500: '#e2f874',
    950: '#000000',
  },
}
SCSS
$custom: #e2f874;
$custom-light: #edfaa0;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f874",
  "rgb": {
    "r": 226,
    "g": 248,
    "b": 116
  },
  "hsl": {
    "h": 70,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93684,
    "c": 0.15866,
    "h": 117.4
  },
  "luminance": 0.84565
}

Semantic roles & 50–950 ramp

primary
#E2F874
secondary
#563DD3
accent
#00E626
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E2F874

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

Preview Lab → · Contrast checker → · Palette generator →

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