#E2F257#E2F257

#E2F257 is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.1% C 0.175 H 114.9°. Best body text is #000000 at 17.07:1 contrast (WCAG AA passes).

Color values

HEX#E2F257
RGBrgb(226, 242, 87)
HSLhsl(66, 86%, 65%)
HSVhsv(66, 64%, 95%)
CMYKcmyk(6.6%, 0%, 64%, 5.1%)
CIE-LABlab(91.85, -24.71, 70.19)
CIE-LCHlch(91.85, 74.41, 109.39°)
OKLaboklab(92.12% -0.0738 0.1589)
OKLCHoklch(92.12% 0.175 114.9)
XYZxyz(64.8380, 80.3622, 21.1108)
Luminance0.8036 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F257 #6757F2
analogous
#F2B557 #E2F257 #94F257
triadic
#E2F257 #57E2F2 #F257E2
tetradic
#E2F257 #57F2B5 #6757F2 #F25794
square
#E2F257 #57F2B5 #6757F2 #F25794
split-complementary
#E2F257 #5794F2 #B557F2
monochromatic
#ADC00F #D8EE1E #E2F257 #ECF690 #F6FBC9

Accessibility & contrast

On white

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

On black

17.07
#E2F257 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F257
17.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F257#FFFFFF#000000##000000
##E2F2571.001.2317.0717.07
#FFFFFF1.231.0021.0021.00
#00000017.0721.001.001.00
##00000017.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE642
Deuteranopia (green-blind)
#FFE962
Tritanopia (blue-blind)
#F0E5D2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e2f257;
/* rgb */ color: rgb(226, 242, 87);
/* oklch */ color: oklch(92.1% 0.175 114.9);
Tailwind
colors: {
  custom: {
    50: '#eef68e',
    500: '#e2f257',
    950: '#000000',
  },
}
SCSS
$custom: #e2f257;
$custom-light: #eef68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f257",
  "rgb": {
    "r": 226,
    "g": 242,
    "b": 87
  },
  "hsl": {
    "h": 66.194,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.92121,
    "c": 0.1752,
    "h": 114.9
  },
  "luminance": 0.80361
}

Semantic roles & 50–950 ramp

primary
#E2F257
secondary
#3E30BE
accent
#03E21A
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E2F257

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

Preview Lab → · Contrast checker → · Palette generator →

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