#E4E371#E4E371

#E4E371 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.4% C 0.137 H 108.4°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#E4E371
RGBrgb(228, 227, 113)
HSLhsl(59, 68%, 67%)
HSVhsv(59, 50%, 89%)
CMYKcmyk(0%, 0.4%, 50.4%, 10.6%)
CIE-LABlab(88.27, -14.77, 55.14)
CIE-LCHlch(88.27, 57.09, 104.99°)
OKLaboklab(89.37% -0.0432 0.1298)
OKLCHoklch(89.37% 0.137 108.4)
XYZxyz(62.4461, 72.6260, 26.3483)
Luminance0.7262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4E371 #7172E4
analogous
#E4AA71 #E4E371 #ACE471
triadic
#E4E371 #71E4E3 #E371E4
tetradic
#E4E371 #71E4AA #7172E4 #E471AC
square
#E4E371 #71E4AA #7172E4 #E471AC
split-complementary
#E4E371 #71ACE4 #AA71E4
monochromatic
#B8B623 #DAD93E #E4E371 #EEEDA4 #F8F7D8

Accessibility & contrast

On white

1.35
#E4E371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.52
#E4E371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4E371
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4E371#FFFFFF#000000##000000
##E4E3711.001.3515.5215.52
#FFFFFF1.351.0021.0021.00
#00000015.5221.001.001.00
##00000015.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3DB66
Deuteranopia (green-blind)
#F4E077
Tritanopia (blue-blind)
#F2D7C9
Achromatopsia (no color)
#DDDDDD

Design tokens & code

CSS
--color: #e4e371;
/* rgb */ color: rgb(228, 227, 113);
/* oklch */ color: oklch(89.4% 0.137 108.4);
Tailwind
colors: {
  custom: {
    50: '#efeb9d',
    500: '#e4e371',
    950: '#000000',
  },
}
SCSS
$custom: #e4e371;
$custom-light: #efeb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#e4e371",
  "rgb": {
    "r": 228,
    "g": 227,
    "b": 113
  },
  "hsl": {
    "h": 59.478,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89374,
    "c": 0.13683,
    "h": 108.4
  },
  "luminance": 0.72624
}

Semantic roles & 50–950 ramp

primary
#E4E371
secondary
#4142B8
accent
#17D016
background
#FFFEFC
surface
#FEFDF5
border
#D6D5CF
text
#17160E
muted
#85847F

Preview Lab

Preview with #E4E371

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

Preview Lab → · Contrast checker → · Palette generator →

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