#E2F771#E2F771

#E2F771 is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.4% C 0.160 H 117.0°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#E2F771
RGBrgb(226, 247, 113)
HSLhsl(69, 89%, 71%)
HSVhsv(69, 54%, 97%)
CMYKcmyk(8.5%, 0%, 54.3%, 3.1%)
CIE-LABlab(93.40, -25.22, 61.06)
CIE-LCHlch(93.40, 66.07, 112.44°)
OKLaboklab(93.44% -0.0728 0.1426)
OKLCHoklch(93.44% 0.16 117)
XYZxyz(67.6065, 83.8832, 28.2491)
Luminance0.8388 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F771 #8671F7
analogous
#F7C971 #E2F771 #9FF771
triadic
#E2F771 #71E2F7 #F771E2
tetradic
#E2F771 #71F7C9 #8671F7 #F7719F
square
#E2F771 #71F7C9 #8671F7 #F7719F
split-complementary
#E2F771 #719FF7 #C971F7
monochromatic
#C0E10D #D6F437 #E2F771 #EEFAAB #F9FDE2

Accessibility & contrast

On white

1.18
#E2F771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.78
#E2F771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F771
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F771#FFFFFF#000000##000000
##E2F7711.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC63
Deuteranopia (green-blind)
#FFED79
Tritanopia (blue-blind)
#EEEBD9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #e2f771;
/* rgb */ color: rgb(226, 247, 113);
/* oklch */ color: oklch(93.4% 0.160 117.0);
Tailwind
colors: {
  custom: {
    50: '#edf99e',
    500: '#e2f771',
    950: '#000000',
  },
}
SCSS
$custom: #e2f771;
$custom-light: #edf99e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f771",
  "rgb": {
    "r": 226,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 69.403,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93437,
    "c": 0.16013,
    "h": 117
  },
  "luminance": 0.83883
}

Semantic roles & 50–950 ramp

primary
#E2F771
secondary
#523AD2
accent
#00E624
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E2F771

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

Preview Lab → · Contrast checker → · Palette generator →

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