#E8F57C#E8F57C

#E8F57C is a very light, vivid yellow. Relative luminance 0.839; OKLCH L 93.6% C 0.146 H 114.3°. Best body text is #000000 at 17.78:1 contrast (WCAG AA passes).

Color values

HEX#E8F57C
RGBrgb(232, 245, 124)
HSLhsl(66, 86%, 72%)
HSVhsv(66, 49%, 96%)
CMYKcmyk(5.3%, 0%, 49.4%, 3.9%)
CIE-LABlab(93.41, -21.01, 56.23)
CIE-LCHlch(93.41, 60.03, 110.48°)
OKLaboklab(93.59% -0.0601 0.1331)
OKLCHoklch(93.59% 0.146 114.3)
XYZxyz(69.5703, 83.9169, 31.5975)
Luminance0.8392 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F57C #897CF5
analogous
#F5C57C #E8F57C #ACF57C
triadic
#E8F57C #7CE8F5 #F57CE8
tetradic
#E8F57C #7CF5C5 #897CF5 #F57CAC
square
#E8F57C #7CF5C5 #897CF5 #F57CAC
split-complementary
#E8F57C #7CACF5 #C57CF5
monochromatic
#CEE511 #DEF143 #E8F57C #F2F9B5 #FAFDE3

Accessibility & contrast

On white

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

On black

17.78
#E8F57C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F57C
17.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F57C#FFFFFF#000000##000000
##E8F57C1.001.1817.7817.78
#FFFFFF1.181.0021.0021.00
#00000017.7821.001.001.00
##00000017.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB71
Deuteranopia (green-blind)
#FFED82
Tritanopia (blue-blind)
#F4E9D9
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #e8f57c;
/* rgb */ color: rgb(232, 245, 124);
/* oklch */ color: oklch(93.6% 0.146 114.3);
Tailwind
colors: {
  custom: {
    50: '#f1f8a5',
    500: '#e8f57c',
    950: '#000000',
  },
}
SCSS
$custom: #e8f57c;
$custom-light: #f1f8a5;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f57c",
  "rgb": {
    "r": 232,
    "g": 245,
    "b": 124
  },
  "hsl": {
    "h": 66.446,
    "s": 85.816,
    "l": 72.353
  },
  "oklch": {
    "l": 0.93592,
    "c": 0.14607,
    "h": 114.3
  },
  "luminance": 0.83916
}

Semantic roles & 50–950 ramp

primary
#E8F57C
secondary
#5445D1
accent
#03E21B
background
#FFFFFC
surface
#FEFEF6
border
#D6D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #E8F57C

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

Preview Lab → · Contrast checker → · Palette generator →

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