#E2F870#E2F870

#E2F870 is a very light, vivid yellow. Relative luminance 0.845; OKLCH L 93.6% C 0.162 H 117.3°. Best body text is #000000 at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#E2F870
RGBrgb(226, 248, 112)
HSLhsl(70, 91%, 71%)
HSVhsv(70, 55%, 97%)
CMYKcmyk(8.9%, 0%, 54.8%, 2.7%)
CIE-LABlab(93.66, -25.78, 61.79)
CIE-LCHlch(93.66, 66.95, 112.64°)
OKLaboklab(93.64% -0.0744 0.1441)
OKLCHoklch(93.64% 0.162 117.3)
XYZxyz(67.8571, 84.4741, 28.0565)
Luminance0.8447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F870 #8670F8
analogous
#F8CA70 #E2F870 #9EF870
triadic
#E2F870 #70E2F8 #F870E2
tetradic
#E2F870 #70F8CA #8670F8 #F8709E
square
#E2F870 #70F8CA #8670F8 #F8709E
split-complementary
#E2F870 #709EF8 #CA70F8
monochromatic
#C0E30B #D6F536 #E2F870 #EEFBAA #F9FEE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2F870#FFFFFF#000000##000000
##E2F8701.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)
#FFEC62
Deuteranopia (green-blind)
#FFEE78
Tritanopia (blue-blind)
#EEECDA
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #e2f870;
/* rgb */ color: rgb(226, 248, 112);
/* oklch */ color: oklch(93.6% 0.162 117.3);
Tailwind
colors: {
  custom: {
    50: '#edfa9d',
    500: '#e2f870',
    950: '#000000',
  },
}
SCSS
$custom: #e2f870;
$custom-light: #edfa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f870",
  "rgb": {
    "r": 226,
    "g": 248,
    "b": 112
  },
  "hsl": {
    "h": 69.706,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93639,
    "c": 0.1622,
    "h": 117.3
  },
  "luminance": 0.84473
}

Semantic roles & 50–950 ramp

primary
#E2F870
secondary
#5239D3
accent
#00E625
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E2F870

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

Preview Lab → · Contrast checker → · Palette generator →

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