#E4F971#E4F971

#E4F971 is a very light, vivid yellow. Relative luminance 0.854; OKLCH L 94.0% C 0.162 H 116.9°. Best body text is #000000 at 18.09:1 contrast (WCAG AA passes).

Color values

HEX#E4F971
RGBrgb(228, 249, 113)
HSLhsl(69, 92%, 71%)
HSVhsv(69, 55%, 98%)
CMYKcmyk(8.4%, 0%, 54.6%, 2.4%)
CIE-LABlab(94.07, -25.39, 61.87)
CIE-LCHlch(94.07, 66.88, 112.32°)
OKLaboklab(94.01% -0.0734 0.1444)
OKLCHoklch(94.01% 0.162 116.9)
XYZxyz(68.8523, 85.4383, 28.4837)
Luminance0.8544 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4F971 #8671F9
analogous
#F9CA71 #E4F971 #A0F971
triadic
#E4F971 #71E4F9 #F971E4
tetradic
#E4F971 #71F9CA #8671F9 #F971A0
square
#E4F971 #71F9CA #8671F9 #F971A0
split-complementary
#E4F971 #71A0F9 #CA71F9
monochromatic
#C4E60A #D9F736 #E4F971 #EFFBAC #F9FEE2

Accessibility & contrast

On white

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

On black

18.09
#E4F971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4F971
18.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4F971#FFFFFF#000000##000000
##E4F9711.001.1618.0918.09
#FFFFFF1.161.0021.0021.00
#00000018.0921.001.001.00
##00000018.0921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4f971;
/* rgb */ color: rgb(228, 249, 113);
/* oklch */ color: oklch(94.0% 0.162 116.9);
Tailwind
colors: {
  custom: {
    50: '#effb9e',
    500: '#e4f971',
    950: '#000000',
  },
}
SCSS
$custom: #e4f971;
$custom-light: #effb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4f971",
  "rgb": {
    "r": 228,
    "g": 249,
    "b": 113
  },
  "hsl": {
    "h": 69.265,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.94011,
    "c": 0.16192,
    "h": 116.9
  },
  "luminance": 0.85438
}

Semantic roles & 50–950 ramp

primary
#E4F971
secondary
#523AD4
accent
#00E623
background
#FFFFFC
surface
#FEFFF5
border
#D6D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E4F971

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

Preview Lab → · Contrast checker → · Palette generator →

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