#E2F271#E2F271

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

Color values

HEX#E2F271
RGBrgb(226, 242, 113)
HSLhsl(67, 83%, 70%)
HSVhsv(67, 53%, 95%)
CMYKcmyk(6.6%, 0%, 53.3%, 5.1%)
CIE-LABlab(92.07, -22.85, 59.53)
CIE-LCHlch(92.07, 63.77, 110.99°)
OKLaboklab(92.37% -0.0661 0.1394)
OKLCHoklch(92.37% 0.154 115.4)
XYZxyz(66.0979, 80.8662, 27.7463)
Luminance0.8086 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F271 #8171F2
analogous
#F2C271 #E2F271 #A2F271
triadic
#E2F271 #71E2F2 #F271E2
tetradic
#E2F271 #71F2C2 #8171F2 #F271A2
square
#E2F271 #71F2C2 #8171F2 #F271A2
split-complementary
#E2F271 #71A2F2 #C271F2
monochromatic
#BDD514 #D7ED39 #E2F271 #EDF7A9 #F9FCE1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2F271#FFFFFF#000000##000000
##E2F2711.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)
#FFE764
Deuteranopia (green-blind)
#FFE978
Tritanopia (blue-blind)
#EEE6D5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e2f271;
/* rgb */ color: rgb(226, 242, 113);
/* oklch */ color: oklch(92.4% 0.154 115.4);
Tailwind
colors: {
  custom: {
    50: '#edf69d',
    500: '#e2f271',
    950: '#000000',
  },
}
SCSS
$custom: #e2f271;
$custom-light: #edf69d;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f271",
  "rgb": {
    "r": 226,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 67.442,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.92374,
    "c": 0.15422,
    "h": 115.4
  },
  "luminance": 0.80865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2F271

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

Preview Lab → · Contrast checker → · Palette generator →

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