#E2F778#E2F778

#E2F778 is a very light, vivid yellow. Relative luminance 0.840; OKLCH L 93.5% C 0.154 H 117.3°. Best body text is #000000 at 17.81:1 contrast (WCAG AA passes).

Color values

HEX#E2F778
RGBrgb(226, 247, 120)
HSLhsl(70, 89%, 72%)
HSVhsv(70, 51%, 97%)
CMYKcmyk(8.5%, 0%, 51.4%, 3.1%)
CIE-LABlab(93.47, -24.63, 58.02)
CIE-LCHlch(93.47, 63.03, 113.00°)
OKLaboklab(93.52% -0.0704 0.1367)
OKLCHoklch(93.52% 0.154 117.3)
XYZxyz(68.0159, 84.0470, 30.4053)
Luminance0.8405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F778 #8D78F7
analogous
#F7CC78 #E2F778 #A3F778
triadic
#E2F778 #78E2F7 #F778E2
tetradic
#E2F778 #78F7CC #8D78F7 #F778A3
square
#E2F778 #78F7CC #8D78F7 #F778A3
split-complementary
#E2F778 #78A3F7 #CC78F7
monochromatic
#C3E70E #D6F43E #E2F778 #EEFAB2 #F9FDE2

Accessibility & contrast

On white

1.18
#E2F778 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.81
#E2F778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F778
17.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F778#FFFFFF#000000##000000
##E2F7781.001.1817.8117.81
#FFFFFF1.181.0021.0021.00
#00000017.8121.001.001.00
##00000017.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6C
Deuteranopia (green-blind)
#FFED7F
Tritanopia (blue-blind)
#EDEBDA
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #e2f778;
/* rgb */ color: rgb(226, 247, 120);
/* oklch */ color: oklch(93.5% 0.154 117.3);
Tailwind
colors: {
  custom: {
    50: '#edf9a2',
    500: '#e2f778',
    950: '#000000',
  },
}
SCSS
$custom: #e2f778;
$custom-light: #edf9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f778",
  "rgb": {
    "r": 226,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 69.921,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.93517,
    "c": 0.15381,
    "h": 117.3
  },
  "luminance": 0.84046
}

Semantic roles & 50–950 ramp

primary
#E2F778
secondary
#5941D3
accent
#00E526
background
#FFFFFC
surface
#FEFFF6
border
#D6D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E2F778

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

Preview Lab → · Contrast checker → · Palette generator →

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