#E2F17A#E2F17A

#E2F17A is a very light, vivid yellow. Relative luminance 0.805; OKLCH L 92.3% C 0.145 H 115.2°. Best body text is #000000 at 17.10:1 contrast (WCAG AA passes).

Color values

HEX#E2F17A
RGBrgb(226, 241, 122)
HSLhsl(68, 81%, 71%)
HSVhsv(68, 49%, 95%)
CMYKcmyk(6.2%, 0%, 49.4%, 5.5%)
CIE-LABlab(91.90, -21.59, 55.25)
CIE-LCHlch(91.90, 59.32, 111.34°)
OKLaboklab(92.27% -0.0617 0.1309)
OKLCHoklch(92.27% 0.145 115.2)
XYZxyz(66.3332, 80.4853, 30.4494)
Luminance0.8048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F17A #897AF1
analogous
#F1C47A #E2F17A #A6F17A
triadic
#E2F17A #7AE2F1 #F17AE2
tetradic
#E2F17A #7AF1C4 #897AF1 #F17AA6
square
#E2F17A #7AF1C4 #897AF1 #F17AA6
split-complementary
#E2F17A #7AA6F1 #C47AF1
monochromatic
#C1DA17 #D6EB43 #E2F17A #EEF7B1 #F9FCE3

Accessibility & contrast

On white

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

On black

17.10
#E2F17A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F17A
17.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F17A#FFFFFF#000000##000000
##E2F17A1.001.2317.1017.10
#FFFFFF1.231.0021.0021.00
#00000017.1021.001.001.00
##00000017.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76F
Deuteranopia (green-blind)
#FEE980
Tritanopia (blue-blind)
#EEE6D6
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e2f17a;
/* rgb */ color: rgb(226, 241, 122);
/* oklch */ color: oklch(92.3% 0.145 115.2);
Tailwind
colors: {
  custom: {
    50: '#edf5a3',
    500: '#e2f17a',
    950: '#000000',
  },
}
SCSS
$custom: #e2f17a;
$custom-light: #edf5a3;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f17a",
  "rgb": {
    "r": 226,
    "g": 241,
    "b": 122
  },
  "hsl": {
    "h": 67.563,
    "s": 80.952,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92269,
    "c": 0.14467,
    "h": 115.2
  },
  "luminance": 0.80484
}

Semantic roles & 50–950 ramp

primary
#E2F17A
secondary
#5544CB
accent
#08DD23
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E2F17A

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

Preview Lab → · Contrast checker → · Palette generator →

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