#E8F578#E8F578

#E8F578 is a very light, vivid yellow. Relative luminance 0.838; OKLCH L 93.5% C 0.150 H 114.2°. Best body text is #000000 at 17.76:1 contrast (WCAG AA passes).

Color values

HEX#E8F578
RGBrgb(232, 245, 120)
HSLhsl(66, 86%, 72%)
HSVhsv(66, 51%, 96%)
CMYKcmyk(5.3%, 0%, 51%, 3.9%)
CIE-LABlab(93.37, -21.36, 58.01)
CIE-LCHlch(93.37, 61.81, 110.21°)
OKLaboklab(93.54% -0.0615 0.1366)
OKLCHoklch(93.54% 0.15 114.2)
XYZxyz(69.3225, 83.8177, 30.2922)
Luminance0.8382 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F578 #8578F5
analogous
#F5C478 #E8F578 #AAF578
triadic
#E8F578 #78E8F5 #F578E8
tetradic
#E8F578 #78F5C4 #8578F5 #F578AA
square
#E8F578 #78F5C4 #8578F5 #F578AA
split-complementary
#E8F578 #78AAF5 #C478F5
monochromatic
#CCE211 #DEF13F #E8F578 #F2F9B1 #FAFDE3

Accessibility & contrast

On white

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

On black

17.76
#E8F578 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F578
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F578#FFFFFF#000000##000000
##E8F5781.001.1817.7617.76
#FFFFFF1.181.0021.0021.00
#00000017.7621.001.001.00
##00000017.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8f578;
/* rgb */ color: rgb(232, 245, 120);
/* oklch */ color: oklch(93.5% 0.150 114.2);
Tailwind
colors: {
  custom: {
    50: '#f1f8a2',
    500: '#e8f578',
    950: '#000000',
  },
}
SCSS
$custom: #e8f578;
$custom-light: #f1f8a2;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f578",
  "rgb": {
    "r": 232,
    "g": 245,
    "b": 120
  },
  "hsl": {
    "h": 66.24,
    "s": 86.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.93544,
    "c": 0.14983,
    "h": 114.2
  },
  "luminance": 0.83817
}

Semantic roles & 50–950 ramp

primary
#E8F578
secondary
#5041D0
accent
#03E31A
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E8F578

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

Preview Lab → · Contrast checker → · Palette generator →

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