#E4F158#E4F158

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

Color values

HEX#E4F158
RGBrgb(228, 241, 88)
HSLhsl(65, 85%, 65%)
HSVhsv(65, 63%, 95%)
CMYKcmyk(5.4%, 0%, 63.5%, 5.5%)
CIE-LABlab(91.73, -23.38, 69.72)
CIE-LCHlch(91.73, 73.54, 108.53°)
OKLaboklab(92.07% -0.0701 0.158)
OKLCHoklch(92.07% 0.173 113.9)
XYZxyz(65.2133, 80.1104, 21.2581)
Luminance0.8011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4F158 #6558F1
analogous
#F1B258 #E4F158 #98F158
triadic
#E4F158 #58E4F1 #F158E4
tetradic
#E4F158 #58F1B2 #6558F1 #F15898
square
#E4F158 #58F1B2 #6558F1 #F15898
split-complementary
#E4F158 #5898F1 #B258F1
monochromatic
#B0BF10 #DBEC20 #E4F158 #EDF690 #F6FAC9

Accessibility & contrast

On white

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

On black

17.02
#E4F158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4F158
17.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4F158#FFFFFF#000000##000000
##E4F1581.001.2317.0217.02
#FFFFFF1.231.0021.0021.00
#00000017.0221.001.001.00
##00000017.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4f158;
/* rgb */ color: rgb(228, 241, 88);
/* oklch */ color: oklch(92.1% 0.173 113.9);
Tailwind
colors: {
  custom: {
    50: '#f0f58e',
    500: '#e4f158',
    950: '#000000',
  },
}
SCSS
$custom: #e4f158;
$custom-light: #f0f58e;
$custom-dark: #000000;
JSON
{
  "hex": "#e4f158",
  "rgb": {
    "r": 228,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 65.098,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.92069,
    "c": 0.17286,
    "h": 113.9
  },
  "luminance": 0.80109
}

Semantic roles & 50–950 ramp

primary
#E4F158
secondary
#3C30BD
accent
#05E117
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E4F158

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

Preview Lab → · Contrast checker → · Palette generator →

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