#E2F170#E2F170

#E2F170 is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.2% C 0.154 H 115.0°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#E2F170
RGBrgb(226, 241, 112)
HSLhsl(67, 82%, 69%)
HSVhsv(67, 54%, 95%)
CMYKcmyk(6.2%, 0%, 53.5%, 5.5%)
CIE-LABlab(91.80, -22.45, 59.66)
CIE-LCHlch(91.80, 63.75, 110.62°)
OKLaboklab(92.15% -0.065 0.1395)
OKLCHoklch(92.15% 0.154 115)
XYZxyz(65.7451, 80.2501, 27.3525)
Luminance0.8025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F170 #7F70F1
analogous
#F1C070 #E2F170 #A2F170
triadic
#E2F170 #70E2F1 #F170E2
tetradic
#E2F170 #70F1C0 #7F70F1 #F170A2
square
#E2F170 #70F1C0 #7F70F1 #F170A2
split-complementary
#E2F170 #70A2F1 #C070F1
monochromatic
#BCD215 #D7EC38 #E2F170 #EDF6A8 #F9FCDF

Accessibility & contrast

On white

1.23
#E2F170 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.05
#E2F170 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F170
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F170#FFFFFF#000000##000000
##E2F1701.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE663
Deuteranopia (green-blind)
#FFE977
Tritanopia (blue-blind)
#EEE5D4
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #e2f170;
/* rgb */ color: rgb(226, 241, 112);
/* oklch */ color: oklch(92.2% 0.154 115.0);
Tailwind
colors: {
  custom: {
    50: '#edf59d',
    500: '#e2f170',
    950: '#000000',
  },
}
SCSS
$custom: #e2f170;
$custom-light: #edf59d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f170",
  "rgb": {
    "r": 226,
    "g": 241,
    "b": 112
  },
  "hsl": {
    "h": 66.977,
    "s": 82.166,
    "l": 69.216
  },
  "oklch": {
    "l": 0.9215,
    "c": 0.15394,
    "h": 115
  },
  "luminance": 0.80249
}

Semantic roles & 50–950 ramp

primary
#E2F170
secondary
#4C3BCA
accent
#07DF20
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #E2F170

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

Preview Lab → · Contrast checker → · Palette generator →

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