#E8F771#E8F771

#E8F771 is a very light, vivid yellow. Relative luminance 0.849; OKLCH L 93.9% C 0.158 H 114.8°. Best body text is #000000 at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#E8F771
RGBrgb(232, 247, 113)
HSLhsl(67, 89%, 71%)
HSVhsv(67, 54%, 97%)
CMYKcmyk(6.1%, 0%, 54.3%, 3.1%)
CIE-LABlab(93.83, -22.89, 61.66)
CIE-LCHlch(93.83, 65.78, 110.37°)
OKLaboklab(93.89% -0.0665 0.1438)
OKLCHoklch(93.89% 0.158 114.8)
XYZxyz(69.5214, 84.8706, 28.3389)
Luminance0.8487 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F771 #8071F7
analogous
#F7C371 #E8F771 #A5F771
triadic
#E8F771 #71E8F7 #F771E8
tetradic
#E8F771 #71F7C3 #8071F7 #F771A5
square
#E8F771 #71F7C3 #8071F7 #F771A5
split-complementary
#E8F771 #71A5F7 #C371F7
monochromatic
#C9E10D #DFF437 #E8F771 #F1FAAB #FAFDE2

Accessibility & contrast

On white

1.17
#E8F771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.97
#E8F771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F771
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F771#FFFFFF#000000##000000
##E8F7711.001.1717.9717.97
#FFFFFF1.171.0021.0021.00
#00000017.9721.001.001.00
##00000017.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC63
Deuteranopia (green-blind)
#FFEF79
Tritanopia (blue-blind)
#F5EBD9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #e8f771;
/* rgb */ color: rgb(232, 247, 113);
/* oklch */ color: oklch(93.9% 0.158 114.8);
Tailwind
colors: {
  custom: {
    50: '#f2f99e',
    500: '#e8f771',
    950: '#000000',
  },
}
SCSS
$custom: #e8f771;
$custom-light: #f2f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f771",
  "rgb": {
    "r": 232,
    "g": 247,
    "b": 113
  },
  "hsl": {
    "h": 66.716,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93886,
    "c": 0.15848,
    "h": 114.8
  },
  "luminance": 0.8487
}

Semantic roles & 50–950 ramp

primary
#E8F771
secondary
#4B3AD2
accent
#00E61A
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E8F771

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

Preview Lab → · Contrast checker → · Palette generator →

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