#E8F571#E8F571

#E8F571 is a very light, vivid yellow. Relative luminance 0.837; OKLCH L 93.5% C 0.156 H 114.1°. Best body text is #000000 at 17.73:1 contrast (WCAG AA passes).

Color values

HEX#E8F571
RGBrgb(232, 245, 113)
HSLhsl(66, 87%, 70%)
HSVhsv(66, 54%, 96%)
CMYKcmyk(5.3%, 0%, 53.9%, 3.9%)
CIE-LABlab(93.30, -21.94, 61.06)
CIE-LCHlch(93.30, 64.88, 109.76°)
OKLaboklab(93.46% -0.0638 0.1425)
OKLCHoklch(93.46% 0.156 114.1)
XYZxyz(68.9131, 83.6540, 28.1361)
Luminance0.8365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F571 #7E71F5
analogous
#F5C071 #E8F571 #A6F571
triadic
#E8F571 #71E8F5 #F571E8
tetradic
#E8F571 #71F5C0 #7E71F5 #F571A6
square
#E8F571 #71F5C0 #7E71F5 #F571A6
split-complementary
#E8F571 #71A6F5 #C071F5
monochromatic
#C8DC10 #DFF138 #E8F571 #F1F9AA #FAFDE2

Accessibility & contrast

On white

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

On black

17.73
#E8F571 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F571
17.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F571#FFFFFF#000000##000000
##E8F5711.001.1817.7317.73
#FFFFFF1.181.0021.0021.00
#00000017.7321.001.001.00
##00000017.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEA64
Deuteranopia (green-blind)
#FFED79
Tritanopia (blue-blind)
#F5E9D8
Achromatopsia (no color)
#ECECEC

Design tokens & code

CSS
--color: #e8f571;
/* rgb */ color: rgb(232, 245, 113);
/* oklch */ color: oklch(93.5% 0.156 114.1);
Tailwind
colors: {
  custom: {
    50: '#f2f89e',
    500: '#e8f571',
    950: '#000000',
  },
}
SCSS
$custom: #e8f571;
$custom-light: #f2f89e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f571",
  "rgb": {
    "r": 232,
    "g": 245,
    "b": 113
  },
  "hsl": {
    "h": 65.909,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.93464,
    "c": 0.15618,
    "h": 114.1
  },
  "luminance": 0.83653
}

Semantic roles & 50–950 ramp

primary
#E8F571
secondary
#4A3BCF
accent
#02E318
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E8F571

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

Preview Lab → · Contrast checker → · Palette generator →

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