#E5F381#E5F381

#E5F381 is a very light, vivid yellow. Relative luminance 0.823; OKLCH L 93.0% C 0.140 H 114.9°. Best body text is #000000 at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#E5F381
RGBrgb(229, 243, 129)
HSLhsl(67, 83%, 73%)
HSVhsv(67, 47%, 95%)
CMYKcmyk(5.8%, 0%, 46.9%, 4.7%)
CIE-LABlab(92.73, -20.74, 53.04)
CIE-LCHlch(92.73, 56.95, 111.36°)
OKLaboklab(93.01% -0.0588 0.1265)
OKLCHoklch(93.01% 0.14 114.9)
XYZxyz(68.3270, 82.3451, 33.0594)
Luminance0.8234 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5F381 #8F81F3
analogous
#F3C881 #E5F381 #ACF381
triadic
#E5F381 #81E5F3 #F381E5
tetradic
#E5F381 #81F3C8 #8F81F3 #F381AC
square
#E5F381 #81F3C8 #8F81F3 #F381AC
split-complementary
#E5F381 #81ACF3 #C881F3
monochromatic
#CBE416 #D9EE49 #E5F381 #F1F8B9 #F9FCE3

Accessibility & contrast

On white

1.20
#E5F381 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.47
#E5F381 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5F381
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5F381#FFFFFF#000000##000000
##E5F3811.001.2017.4717.47
#FFFFFF1.201.0021.0021.00
#00000017.4721.001.001.00
##00000017.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE977
Deuteranopia (green-blind)
#FFEB87
Tritanopia (blue-blind)
#F1E8D8
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #e5f381;
/* rgb */ color: rgb(229, 243, 129);
/* oklch */ color: oklch(93.0% 0.140 114.9);
Tailwind
colors: {
  custom: {
    50: '#eff7a8',
    500: '#e5f381',
    950: '#000000',
  },
}
SCSS
$custom: #e5f381;
$custom-light: #eff7a8;
$custom-dark: #000000;
JSON
{
  "hex": "#e5f381",
  "rgb": {
    "r": 229,
    "g": 243,
    "b": 129
  },
  "hsl": {
    "h": 67.368,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.93007,
    "c": 0.13951,
    "h": 114.9
  },
  "luminance": 0.82344
}

Semantic roles & 50–950 ramp

primary
#E5F381
secondary
#5A4ACF
accent
#06DF21
background
#FFFFFD
surface
#FEFEF7
border
#D6D6D0
text
#171710
muted
#858581

Preview Lab

Preview with #E5F381

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

Preview Lab → · Contrast checker → · Palette generator →

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