#E2F270#E2F270

#E2F270 is a very light, vivid yellow. Relative luminance 0.808; OKLCH L 92.4% C 0.155 H 115.3°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#E2F270
RGBrgb(226, 242, 112)
HSLhsl(67, 83%, 69%)
HSVhsv(67, 54%, 95%)
CMYKcmyk(6.6%, 0%, 53.7%, 5.1%)
CIE-LABlab(92.06, -22.93, 59.97)
CIE-LCHlch(92.06, 64.20, 110.92°)
OKLaboklab(92.36% -0.0664 0.1402)
OKLCHoklch(92.36% 0.155 115.3)
XYZxyz(66.0419, 80.8438, 27.4514)
Luminance0.8084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F270 #8070F2
analogous
#F2C170 #E2F270 #A1F270
triadic
#E2F270 #70E2F2 #F270E2
tetradic
#E2F270 #70F2C1 #8070F2 #F270A1
square
#E2F270 #70F2C1 #8070F2 #F270A1
split-complementary
#E2F270 #70A1F2 #C170F2
monochromatic
#BDD413 #D7ED38 #E2F270 #EDF7A8 #F9FCE0

Accessibility & contrast

On white

1.22
#E2F270 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.17
#E2F270 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F270
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F270#FFFFFF#000000##000000
##E2F2701.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE763
Deuteranopia (green-blind)
#FFE977
Tritanopia (blue-blind)
#EEE6D5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e2f270;
/* rgb */ color: rgb(226, 242, 112);
/* oklch */ color: oklch(92.4% 0.155 115.3);
Tailwind
colors: {
  custom: {
    50: '#edf69d',
    500: '#e2f270',
    950: '#000000',
  },
}
SCSS
$custom: #e2f270;
$custom-light: #edf69d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f270",
  "rgb": {
    "r": 226,
    "g": 242,
    "b": 112
  },
  "hsl": {
    "h": 67.385,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.92363,
    "c": 0.15512,
    "h": 115.3
  },
  "luminance": 0.80843
}

Semantic roles & 50–950 ramp

primary
#E2F270
secondary
#4D3BCB
accent
#06E021
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E2F270

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

Preview Lab → · Contrast checker → · Palette generator →

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