#E7F871#E7F871

#E7F871 is a very light, vivid yellow. Relative luminance 0.853; OKLCH L 94.0% C 0.160 H 115.5°. Best body text is #000000 at 18.06:1 contrast (WCAG AA passes).

Color values

HEX#E7F871
RGBrgb(231, 248, 113)
HSLhsl(68, 91%, 71%)
HSVhsv(68, 54%, 97%)
CMYKcmyk(6.9%, 0%, 54.4%, 2.7%)
CIE-LABlab(94.02, -23.76, 61.86)
CIE-LCHlch(94.02, 66.27, 111.01°)
OKLaboklab(94.02% -0.0689 0.1443)
OKLCHoklch(94.02% 0.16 115.5)
XYZxyz(69.5043, 85.3169, 28.4259)
Luminance0.8532 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E7F871 #8271F8
analogous
#F8C671 #E7F871 #A3F871
triadic
#E7F871 #71E7F8 #F871E7
tetradic
#E7F871 #71F8C6 #8271F8 #F871A3
square
#E7F871 #71F8C6 #8271F8 #F871A3
split-complementary
#E7F871 #71A3F8 #C671F8
monochromatic
#C8E30B #DDF537 #E7F871 #F1FBAB #FAFEE2

Accessibility & contrast

On white

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

On black

18.06
#E7F871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E7F871
18.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E7F871#FFFFFF#000000##000000
##E7F8711.001.1618.0618.06
#FFFFFF1.161.0021.0021.00
#00000018.0621.001.001.00
##00000018.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e7f871;
/* rgb */ color: rgb(231, 248, 113);
/* oklch */ color: oklch(94.0% 0.160 115.5);
Tailwind
colors: {
  custom: {
    50: '#f1fa9e',
    500: '#e7f871',
    950: '#000000',
  },
}
SCSS
$custom: #e7f871;
$custom-light: #f1fa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e7f871",
  "rgb": {
    "r": 231,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 67.556,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.94022,
    "c": 0.1599,
    "h": 115.5
  },
  "luminance": 0.85316
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #E7F871

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

Preview Lab → · Contrast checker → · Palette generator →

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