#E4F871#E4F871

#E4F871 is a very light, vivid yellow. Relative luminance 0.848; OKLCH L 93.8% C 0.161 H 116.6°. Best body text is #000000 at 17.96:1 contrast (WCAG AA passes).

Color values

HEX#E4F871
RGBrgb(228, 248, 113)
HSLhsl(69, 91%, 71%)
HSVhsv(69, 54%, 97%)
CMYKcmyk(8.1%, 0%, 54.4%, 2.7%)
CIE-LABlab(93.81, -24.92, 61.56)
CIE-LCHlch(93.81, 66.42, 112.04°)
OKLaboklab(93.8% -0.072 0.1437)
OKLCHoklch(93.8% 0.161 116.6)
XYZxyz(68.5440, 84.8218, 28.3809)
Luminance0.8482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4F871 #8571F8
analogous
#F8C871 #E4F871 #A0F871
triadic
#E4F871 #71E4F8 #F871E4
tetradic
#E4F871 #71F8C8 #8571F8 #F871A0
square
#E4F871 #71F8C8 #8571F8 #F871A0
split-complementary
#E4F871 #71A0F8 #C871F8
monochromatic
#C3E30B #D9F537 #E4F871 #EFFBAB #F9FEE2

Accessibility & contrast

On white

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

On black

17.96
#E4F871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4F871
17.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4F871#FFFFFF#000000##000000
##E4F8711.001.1717.9617.96
#FFFFFF1.171.0021.0021.00
#00000017.9621.001.001.00
##00000017.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED63
Deuteranopia (green-blind)
#FFEE79
Tritanopia (blue-blind)
#F0ECDA
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #e4f871;
/* rgb */ color: rgb(228, 248, 113);
/* oklch */ color: oklch(93.8% 0.161 116.6);
Tailwind
colors: {
  custom: {
    50: '#effa9e',
    500: '#e4f871',
    950: '#000000',
  },
}
SCSS
$custom: #e4f871;
$custom-light: #effa9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4f871",
  "rgb": {
    "r": 228,
    "g": 248,
    "b": 113
  },
  "hsl": {
    "h": 68.889,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93798,
    "c": 0.16073,
    "h": 116.6
  },
  "luminance": 0.84821
}

Semantic roles & 50–950 ramp

primary
#E4F871
secondary
#513AD3
accent
#00E622
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E4F871

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

Preview Lab → · Contrast checker → · Palette generator →

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