#E8F971#E8F971

#E8F971 is a very light, vivid yellow. Relative luminance 0.861; OKLCH L 94.3% C 0.161 H 115.5°. Best body text is #000000 at 18.22:1 contrast (WCAG AA passes).

Color values

HEX#E8F971
RGBrgb(232, 249, 113)
HSLhsl(68, 92%, 71%)
HSVhsv(68, 55%, 98%)
CMYKcmyk(6.8%, 0%, 54.6%, 2.4%)
CIE-LABlab(94.36, -23.84, 62.27)
CIE-LCHlch(94.36, 66.68, 110.95°)
OKLaboklab(94.31% -0.0692 0.1451)
OKLCHoklch(94.31% 0.161 115.5)
XYZxyz(70.1363, 86.1004, 28.5439)
Luminance0.8610 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F971 #8271F9
analogous
#F9C671 #E8F971 #A4F971
triadic
#E8F971 #71E8F9 #F971E8
tetradic
#E8F971 #71F9C6 #8271F9 #F971A4
square
#E8F971 #71F9C6 #8271F9 #F971A4
split-complementary
#E8F971 #71A4F9 #C671F9
monochromatic
#CAE60A #DEF736 #E8F971 #F2FBAC #FAFEE2

Accessibility & contrast

On white

1.15
#E8F971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.22
#E8F971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F971
18.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F971#FFFFFF#000000##000000
##E8F9711.001.1518.2218.22
#FFFFFF1.151.0021.0021.00
#00000018.2221.001.001.00
##00000018.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE63
Deuteranopia (green-blind)
#FFF079
Tritanopia (blue-blind)
#F5EDDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #e8f971;
/* rgb */ color: rgb(232, 249, 113);
/* oklch */ color: oklch(94.3% 0.161 115.5);
Tailwind
colors: {
  custom: {
    50: '#f2fb9e',
    500: '#e8f971',
    950: '#000000',
  },
}
SCSS
$custom: #e8f971;
$custom-light: #f2fb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f971",
  "rgb": {
    "r": 232,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 67.5,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.94308,
    "c": 0.1608,
    "h": 115.5
  },
  "luminance": 0.86099
}

Semantic roles & 50–950 ramp

primary
#E8F971
secondary
#4D3AD4
accent
#00E61D
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E8F971

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

Preview Lab → · Contrast checker → · Palette generator →

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