#E2F259#E2F259

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

Color values

HEX#E2F259
RGBrgb(226, 242, 89)
HSLhsl(66, 85%, 65%)
HSVhsv(66, 63%, 95%)
CMYKcmyk(6.6%, 0%, 63.2%, 5.1%)
CIE-LABlab(91.86, -24.58, 69.42)
CIE-LCHlch(91.86, 73.65, 109.50°)
OKLaboklab(92.14% -0.0733 0.1576)
OKLCHoklch(92.14% 0.174 115)
XYZxyz(64.9209, 80.3953, 21.5471)
Luminance0.8039 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F259 #6959F2
analogous
#F2B659 #E2F259 #95F259
triadic
#E2F259 #59E2F2 #F259E2
tetradic
#E2F259 #59F2B6 #6959F2 #F25995
square
#E2F259 #59F2B6 #6959F2 #F25995
split-complementary
#E2F259 #5995F2 #B659F2
monochromatic
#AFC10F #D8EE20 #E2F259 #ECF692 #F6FBCB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E2F259#FFFFFF#000000##000000
##E2F2591.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)
#FFE645
Deuteranopia (green-blind)
#FFE963
Tritanopia (blue-blind)
#F0E5D2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e2f259;
/* rgb */ color: rgb(226, 242, 89);
/* oklch */ color: oklch(92.1% 0.174 115.0);
Tailwind
colors: {
  custom: {
    50: '#eef68f',
    500: '#e2f259',
    950: '#000000',
  },
}
SCSS
$custom: #e2f259;
$custom-light: #eef68f;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f259",
  "rgb": {
    "r": 226,
    "g": 242,
    "b": 89
  },
  "hsl": {
    "h": 66.275,
    "s": 85.475,
    "l": 64.902
  },
  "oklch": {
    "l": 0.92138,
    "c": 0.17377,
    "h": 115
  },
  "luminance": 0.80394
}

Semantic roles & 50–950 ramp

primary
#E2F259
secondary
#3F30BF
accent
#04E21B
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E2F259

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

Preview Lab → · Contrast checker → · Palette generator →

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