#E5F157#E5F157

#E5F157 is a very light, vivid yellow. Relative luminance 0.803; OKLCH L 92.1% C 0.173 H 113.6°. Best body text is #000000 at 17.05:1 contrast (WCAG AA passes).

Color values

HEX#E5F157
RGBrgb(229, 241, 87)
HSLhsl(65, 85%, 64%)
HSVhsv(65, 64%, 95%)
CMYKcmyk(5%, 0%, 63.9%, 5.5%)
CIE-LABlab(91.80, -23.04, 70.21)
CIE-LCHlch(91.80, 73.89, 108.17°)
OKLaboklab(92.14% -0.0693 0.1589)
OKLCHoklch(92.14% 0.173 113.6)
XYZxyz(65.4904, 80.2580, 21.0564)
Luminance0.8026 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5F157 #6357F1
analogous
#F1B057 #E5F157 #98F157
triadic
#E5F157 #57E5F1 #F157E5
tetradic
#E5F157 #57F1B0 #6357F1 #F15798
square
#E5F157 #57F1B0 #6357F1 #F15798
split-complementary
#E5F157 #5798F1 #B057F1
monochromatic
#B0BE10 #DCEC1F #E5F157 #EEF68F #F6FAC8

Accessibility & contrast

On white

1.23
#E5F157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.05
#E5F157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5F157
17.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5F157#FFFFFF#000000##000000
##E5F1571.001.2317.0517.05
#FFFFFF1.231.0021.0021.00
#00000017.0521.001.001.00
##00000017.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE642
Deuteranopia (green-blind)
#FFE962
Tritanopia (blue-blind)
#F3E3D1
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #e5f157;
/* rgb */ color: rgb(229, 241, 87);
/* oklch */ color: oklch(92.1% 0.173 113.6);
Tailwind
colors: {
  custom: {
    50: '#f0f58e',
    500: '#e5f157',
    950: '#000000',
  },
}
SCSS
$custom: #e5f157;
$custom-light: #f0f58e;
$custom-dark: #000000;
JSON
{
  "hex": "#e5f157",
  "rgb": {
    "r": 229,
    "g": 241,
    "b": 87
  },
  "hsl": {
    "h": 64.675,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.92138,
    "c": 0.17332,
    "h": 113.6
  },
  "luminance": 0.80257
}

Semantic roles & 50–950 ramp

primary
#E5F157
secondary
#3B30BC
accent
#04E116
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E5F157

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

Preview Lab → · Contrast checker → · Palette generator →

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