#E8F871#E8F871

#E8F871 is a very light, vivid yellow. Relative luminance 0.855; OKLCH L 94.1% C 0.160 H 115.2°. Best body text is #000000 at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#E8F871
RGBrgb(232, 248, 113)
HSLhsl(67, 91%, 71%)
HSVhsv(67, 54%, 97%)
CMYKcmyk(6.5%, 0%, 54.4%, 2.7%)
CIE-LABlab(94.09, -23.37, 61.97)
CIE-LCHlch(94.09, 66.22, 110.66°)
OKLaboklab(94.1% -0.0679 0.1445)
OKLCHoklch(94.1% 0.16 115.2)
XYZxyz(69.8280, 85.4838, 28.4411)
Luminance0.8548 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F871 #8171F8
analogous
#F8C471 #E8F871 #A4F871
triadic
#E8F871 #71E8F8 #F871E8
tetradic
#E8F871 #71F8C4 #8171F8 #F871A4
square
#E8F871 #71F8C4 #8171F8 #F871A4
split-complementary
#E8F871 #71A4F8 #C471F8
monochromatic
#CAE30B #DFF537 #E8F871 #F1FBAB #FAFEE2

Accessibility & contrast

On white

1.16
#E8F871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.10
#E8F871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F871
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F871#FFFFFF#000000##000000
##E8F8711.001.1618.1018.10
#FFFFFF1.161.0021.0021.00
#00000018.1021.001.001.00
##00000018.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED63
Deuteranopia (green-blind)
#FFEF79
Tritanopia (blue-blind)
#F5ECDA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #e8f871;
/* rgb */ color: rgb(232, 248, 113);
/* oklch */ color: oklch(94.1% 0.160 115.2);
Tailwind
colors: {
  custom: {
    50: '#f2fa9e',
    500: '#e8f871',
    950: '#000000',
  },
}
SCSS
$custom: #e8f871;
$custom-light: #f2fa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f871",
  "rgb": {
    "r": 232,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 67.111,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94097,
    "c": 0.15964,
    "h": 115.2
  },
  "luminance": 0.85483
}

Semantic roles & 50–950 ramp

primary
#E8F871
secondary
#4C3AD3
accent
#00E61B
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E8F871

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

Preview Lab → · Contrast checker → · Palette generator →

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