#E2F178#E2F178

#E2F178 is a very light, vivid yellow. Relative luminance 0.804; OKLCH L 92.2% C 0.147 H 115.2°. Best body text is #000000 at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#E2F178
RGBrgb(226, 241, 120)
HSLhsl(67, 81%, 71%)
HSVhsv(67, 50%, 95%)
CMYKcmyk(6.2%, 0%, 50.2%, 5.5%)
CIE-LABlab(91.88, -21.77, 56.14)
CIE-LCHlch(91.88, 60.22, 111.19°)
OKLaboklab(92.24% -0.0623 0.1327)
OKLCHoklch(92.24% 0.147 115.2)
XYZxyz(66.2105, 80.4363, 29.8035)
Luminance0.8044 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E2F178 #8778F1
analogous
#F1C378 #E2F178 #A5F178
triadic
#E2F178 #78E2F1 #F178E2
tetradic
#E2F178 #78F1C3 #8778F1 #F178A5
square
#E2F178 #78F1C3 #8778F1 #F178A5
split-complementary
#E2F178 #78A5F1 #C378F1
monochromatic
#C0D816 #D6EB41 #E2F178 #EEF7AF #F9FCE3

Accessibility & contrast

On white

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

On black

17.09
#E2F178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E2F178
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E2F178#FFFFFF#000000##000000
##E2F1781.001.2317.0917.09
#FFFFFF1.231.0021.0021.00
#00000017.0921.001.001.00
##00000017.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE76D
Deuteranopia (green-blind)
#FEE97F
Tritanopia (blue-blind)
#EEE5D5
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e2f178;
/* rgb */ color: rgb(226, 241, 120);
/* oklch */ color: oklch(92.2% 0.147 115.2);
Tailwind
colors: {
  custom: {
    50: '#edf5a2',
    500: '#e2f178',
    950: '#000000',
  },
}
SCSS
$custom: #e2f178;
$custom-light: #edf5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e2f178",
  "rgb": {
    "r": 226,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 67.438,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92244,
    "c": 0.14657,
    "h": 115.2
  },
  "luminance": 0.80435
}

Semantic roles & 50–950 ramp

primary
#E2F178
secondary
#5342CB
accent
#08DE22
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E2F178

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

Preview Lab → · Contrast checker → · Palette generator →

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