#E2F159#E2F159

#E2F159 is a very light, vivid yellow. Relative luminance 0.798; OKLCH L 91.9% C 0.173 H 114.6°. Best body text is #000000 at 16.96:1 contrast (WCAG AA passes).

Color values

HEX#E2F159
RGBrgb(226, 241, 89)
HSLhsl(66, 84%, 65%)
HSVhsv(66, 63%, 95%)
CMYKcmyk(6.2%, 0%, 63.1%, 5.5%)
CIE-LABlab(91.60, -24.11, 69.14)
CIE-LCHlch(91.60, 73.22, 109.22°)
OKLaboklab(91.93% -0.072 0.157)
OKLCHoklch(91.93% 0.173 114.6)
XYZxyz(64.6241, 79.8017, 21.4482)
Luminance0.7980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F159 #6859F1
analogous
#F1B459 #E2F159 #96F159
triadic
#E2F159 #59E2F1 #F159E2
tetradic
#E2F159 #59F1B4 #6859F1 #F15996
square
#E2F159 #59F1B4 #6859F1 #F15996
split-complementary
#E2F159 #5996F1 #B459F1
monochromatic
#AEBF10 #D8EC21 #E2F159 #ECF691 #F6FBCA

Accessibility & contrast

On white

1.24
#E2F159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.96
#E2F159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F159
16.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F159#FFFFFF#000000##000000
##E2F1591.001.2416.9616.96
#FFFFFF1.241.0021.0021.00
#00000016.9621.001.001.00
##00000016.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE645
Deuteranopia (green-blind)
#FFE863
Tritanopia (blue-blind)
#F0E4D2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #e2f159;
/* rgb */ color: rgb(226, 241, 89);
/* oklch */ color: oklch(91.9% 0.173 114.6);
Tailwind
colors: {
  custom: {
    50: '#eef58f',
    500: '#e2f159',
    950: '#000000',
  },
}
SCSS
$custom: #e2f159;
$custom-light: #eef58f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f159",
  "rgb": {
    "r": 226,
    "g": 241,
    "b": 89
  },
  "hsl": {
    "h": 65.921,
    "s": 84.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.91925,
    "c": 0.17267,
    "h": 114.6
  },
  "luminance": 0.79801
}

Semantic roles & 50–950 ramp

primary
#E2F159
secondary
#3F31BE
accent
#05E11A
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E2F159

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

Preview Lab → · Contrast checker → · Palette generator →

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