#E5F371#E5F371

#E5F371 is a very light, vivid yellow. Relative luminance 0.820; OKLCH L 92.8% C 0.155 H 114.6°. Best body text is #000000 at 17.39:1 contrast (WCAG AA passes).

Color values

HEX#E5F371
RGBrgb(229, 243, 113)
HSLhsl(66, 84%, 70%)
HSVhsv(66, 53%, 95%)
CMYKcmyk(5.8%, 0%, 53.5%, 4.7%)
CIE-LABlab(92.55, -22.15, 60.15)
CIE-LCHlch(92.55, 64.09, 110.22°)
OKLaboklab(92.81% -0.0643 0.1406)
OKLCHoklch(92.81% 0.155 114.6)
XYZxyz(67.3456, 81.9525, 27.8903)
Luminance0.8195 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5F371 #7F71F3
analogous
#F3C071 #E5F371 #A4F371
triadic
#E5F371 #71E5F3 #F371E5
tetradic
#E5F371 #71F3C0 #7F71F3 #F371A4
square
#E5F371 #71F3C0 #7F71F3 #F371A4
split-complementary
#E5F371 #71A4F3 #C071F3
monochromatic
#C2D712 #DBEE39 #E5F371 #EFF8A9 #FAFDE2

Accessibility & contrast

On white

1.21
#E5F371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.39
#E5F371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5F371
17.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5F371#FFFFFF#000000##000000
##E5F3711.001.2117.3917.39
#FFFFFF1.211.0021.0021.00
#00000017.3921.001.001.00
##00000017.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE864
Deuteranopia (green-blind)
#FFEB78
Tritanopia (blue-blind)
#F2E7D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #e5f371;
/* rgb */ color: rgb(229, 243, 113);
/* oklch */ color: oklch(92.8% 0.155 114.6);
Tailwind
colors: {
  custom: {
    50: '#eff79d',
    500: '#e5f371',
    950: '#000000',
  },
}
SCSS
$custom: #e5f371;
$custom-light: #eff79d;
$custom-dark: #000000;
JSON
{
  "hex": "#e5f371",
  "rgb": {
    "r": 229,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 66.462,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.92813,
    "c": 0.15461,
    "h": 114.6
  },
  "luminance": 0.81951
}

Semantic roles & 50–950 ramp

primary
#E5F371
secondary
#4B3BCD
accent
#05E11C
background
#FFFFFC
surface
#FEFEF5
border
#D6D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #E5F371

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

Preview Lab → · Contrast checker → · Palette generator →

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