#E2F478#E2F478

#E2F478 is a very light, vivid yellow. Relative luminance 0.822; OKLCH L 92.9% C 0.150 H 116.2°. Best body text is #000000 at 17.45:1 contrast (WCAG AA passes).

Color values

HEX#E2F478
RGBrgb(226, 244, 120)
HSLhsl(69, 85%, 71%)
HSVhsv(69, 51%, 96%)
CMYKcmyk(7.4%, 0%, 50.8%, 4.3%)
CIE-LABlab(92.67, -23.20, 57.08)
CIE-LCHlch(92.67, 61.62, 112.12°)
OKLaboklab(92.88% -0.0664 0.1347)
OKLCHoklch(92.88% 0.15 116.2)
XYZxyz(67.1058, 82.2269, 30.1019)
Luminance0.8223 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F478 #8A78F4
analogous
#F4C878 #E2F478 #A4F478
triadic
#E2F478 #78E2F4 #F478E2
tetradic
#E2F478 #78F4C8 #8A78F4 #F478A4
square
#E2F478 #78F4C8 #8A78F4 #F478A4
split-complementary
#E2F478 #78A4F4 #C878F4
monochromatic
#C2DF12 #D6EF3F #E2F478 #EEF9B1 #F9FDE3

Accessibility & contrast

On white

1.20
#E2F478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.45
#E2F478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F478
17.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F478#FFFFFF#000000##000000
##E2F4781.001.2017.4517.45
#FFFFFF1.201.0021.0021.00
#00000017.4521.001.001.00
##00000017.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE96C
Deuteranopia (green-blind)
#FFEB7F
Tritanopia (blue-blind)
#EEE8D8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #e2f478;
/* rgb */ color: rgb(226, 244, 120);
/* oklch */ color: oklch(92.9% 0.150 116.2);
Tailwind
colors: {
  custom: {
    50: '#edf7a2',
    500: '#e2f478',
    950: '#000000',
  },
}
SCSS
$custom: #e2f478;
$custom-light: #edf7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f478",
  "rgb": {
    "r": 226,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 68.71,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.9288,
    "c": 0.15017,
    "h": 116.2
  },
  "luminance": 0.82226
}

Semantic roles & 50–950 ramp

primary
#E2F478
secondary
#5641CF
accent
#04E124
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E2F478

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

Preview Lab → · Contrast checker → · Palette generator →

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