#E5F258#E5F258

#E5F258 is a very light, vivid yellow. Relative luminance 0.809; OKLCH L 92.4% C 0.174 H 113.9°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#E5F258
RGBrgb(229, 242, 88)
HSLhsl(65, 86%, 65%)
HSVhsv(65, 64%, 95%)
CMYKcmyk(5.4%, 0%, 63.6%, 5.1%)
CIE-LABlab(92.07, -23.45, 70.10)
CIE-LCHlch(92.07, 73.92, 108.50°)
OKLaboklab(92.36% -0.0704 0.1588)
OKLCHoklch(92.36% 0.174 113.9)
XYZxyz(65.8284, 80.8681, 21.3720)
Luminance0.8087 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5F258 #6558F2
analogous
#F2B258 #E5F258 #98F258
triadic
#E5F258 #58E5F2 #F258E5
tetradic
#E5F258 #58F2B2 #6558F2 #F25898
square
#E5F258 #58F2B2 #6558F2 #F25898
split-complementary
#E5F258 #5898F2 #B258F2
monochromatic
#B2C10F #DCEE1F #E5F258 #EEF691 #F7FBCA

Accessibility & contrast

On white

1.22
#E5F258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.17
#E5F258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5F258
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5F258#FFFFFF#000000##000000
##E5F2581.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE743
Deuteranopia (green-blind)
#FFEA62
Tritanopia (blue-blind)
#F3E4D2
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #e5f258;
/* rgb */ color: rgb(229, 242, 88);
/* oklch */ color: oklch(92.4% 0.174 113.9);
Tailwind
colors: {
  custom: {
    50: '#f0f68e',
    500: '#e5f258',
    950: '#000000',
  },
}
SCSS
$custom: #e5f258;
$custom-light: #f0f68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e5f258",
  "rgb": {
    "r": 229,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 65.065,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.92359,
    "c": 0.17368,
    "h": 113.9
  },
  "luminance": 0.80867
}

Semantic roles & 50–950 ramp

primary
#E5F258
secondary
#3C30BE
accent
#03E216
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E5F258

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

Preview Lab → · Contrast checker → · Palette generator →

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