#E2F258#E2F258

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

Color values

HEX#E2F258
RGBrgb(226, 242, 88)
HSLhsl(66, 86%, 65%)
HSVhsv(66, 64%, 95%)
CMYKcmyk(6.6%, 0%, 63.6%, 5.1%)
CIE-LABlab(91.85, -24.65, 69.80)
CIE-LCHlch(91.85, 74.03, 109.45°)
OKLaboklab(92.13% -0.0736 0.1582)
OKLCHoklch(92.13% 0.174 114.9)
XYZxyz(64.8792, 80.3786, 21.3275)
Luminance0.8038 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F258 #6858F2
analogous
#F2B558 #E2F258 #95F258
triadic
#E2F258 #58E2F2 #F258E2
tetradic
#E2F258 #58F2B5 #6858F2 #F25895
square
#E2F258 #58F2B5 #6858F2 #F25895
split-complementary
#E2F258 #5895F2 #B558F2
monochromatic
#AEC10F #D8EE1F #E2F258 #ECF691 #F6FBCA

Accessibility & contrast

On white

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

On black

17.08
#E2F258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F258
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F258#FFFFFF#000000##000000
##E2F2581.001.2317.0817.08
#FFFFFF1.231.0021.0021.00
#00000017.0821.001.001.00
##00000017.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e2f258;
/* rgb */ color: rgb(226, 242, 88);
/* oklch */ color: oklch(92.1% 0.174 114.9);
Tailwind
colors: {
  custom: {
    50: '#eef68e',
    500: '#e2f258',
    950: '#000000',
  },
}
SCSS
$custom: #e2f258;
$custom-light: #eef68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f258",
  "rgb": {
    "r": 226,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 66.234,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.9213,
    "c": 0.17449,
    "h": 114.9
  },
  "luminance": 0.80378
}

Semantic roles & 50–950 ramp

primary
#E2F258
secondary
#3F30BE
accent
#03E21B
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E2F258

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

Preview Lab → · Contrast checker → · Palette generator →

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