#E5F158#E5F158

#E5F158 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#E5F158
RGBrgb(229, 241, 88)
HSLhsl(65, 85%, 65%)
HSVhsv(65, 63%, 95%)
CMYKcmyk(5%, 0%, 63.5%, 5.5%)
CIE-LABlab(91.81, -22.98, 69.82)
CIE-LCHlch(91.81, 73.51, 108.21°)
OKLaboklab(92.15% -0.0691 0.1582)
OKLCHoklch(92.15% 0.173 113.6)
XYZxyz(65.5316, 80.2745, 21.2730)
Luminance0.8027 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5F158 #6458F1
analogous
#F1B158 #E5F158 #99F158
triadic
#E5F158 #58E5F1 #F158E5
tetradic
#E5F158 #58F1B1 #6458F1 #F15899
square
#E5F158 #58F1B1 #6458F1 #F15899
split-complementary
#E5F158 #5899F1 #B158F1
monochromatic
#B1BF10 #DCEC20 #E5F158 #EEF690 #F7FAC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5F158#FFFFFF#000000##000000
##E5F1581.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)
#FFE644
Deuteranopia (green-blind)
#FFE962
Tritanopia (blue-blind)
#F3E3D2
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #e5f158;
/* rgb */ color: rgb(229, 241, 88);
/* oklch */ color: oklch(92.1% 0.173 113.6);
Tailwind
colors: {
  custom: {
    50: '#f0f58e',
    500: '#e5f158',
    950: '#000000',
  },
}
SCSS
$custom: #e5f158;
$custom-light: #f0f58e;
$custom-dark: #000000;
JSON
{
  "hex": "#e5f158",
  "rgb": {
    "r": 229,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 64.706,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.92146,
    "c": 0.17261,
    "h": 113.6
  },
  "luminance": 0.80273
}

Semantic roles & 50–950 ramp

primary
#E5F158
secondary
#3B30BD
accent
#05E116
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E5F158

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

Preview Lab → · Contrast checker → · Palette generator →

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