#E2F158#E2F158

#E2F158 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#E2F158
RGBrgb(226, 241, 88)
HSLhsl(66, 85%, 65%)
HSVhsv(66, 63%, 95%)
CMYKcmyk(6.2%, 0%, 63.5%, 5.5%)
CIE-LABlab(91.59, -24.17, 69.53)
CIE-LCHlch(91.59, 73.61, 109.17°)
OKLaboklab(91.92% -0.0722 0.1576)
OKLCHoklch(91.92% 0.173 114.6)
XYZxyz(64.5824, 79.7850, 21.2286)
Luminance0.7978 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F158 #6758F1
analogous
#F1B358 #E2F158 #96F158
triadic
#E2F158 #58E2F1 #F158E2
tetradic
#E2F158 #58F1B3 #6758F1 #F15896
square
#E2F158 #58F1B3 #6758F1 #F15896
split-complementary
#E2F158 #5896F1 #B358F1
monochromatic
#ADBF10 #D8EC20 #E2F158 #ECF690 #F6FAC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2F158#FFFFFF#000000##000000
##E2F1581.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)
#FFE644
Deuteranopia (green-blind)
#FFE862
Tritanopia (blue-blind)
#F0E4D2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #e2f158;
/* rgb */ color: rgb(226, 241, 88);
/* oklch */ color: oklch(91.9% 0.173 114.6);
Tailwind
colors: {
  custom: {
    50: '#eef58e',
    500: '#e2f158',
    950: '#000000',
  },
}
SCSS
$custom: #e2f158;
$custom-light: #eef58e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f158",
  "rgb": {
    "r": 226,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 65.882,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.91916,
    "c": 0.1734,
    "h": 114.6
  },
  "luminance": 0.79784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E2F158

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

Preview Lab → · Contrast checker → · Palette generator →

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