#E8F258#E8F258

#E8F258 is a very light, vivid yellow. Relative luminance 0.814; OKLCH L 92.6% C 0.173 H 112.9°. Best body text is #000000 at 17.27:1 contrast (WCAG AA passes).

Color values

HEX#E8F258
RGBrgb(232, 242, 88)
HSLhsl(64, 86%, 65%)
HSVhsv(64, 64%, 95%)
CMYKcmyk(4.1%, 0%, 63.6%, 5.1%)
CIE-LABlab(92.29, -22.25, 70.40)
CIE-LCHlch(92.29, 73.83, 107.54°)
OKLaboklab(92.59% -0.0672 0.1593)
OKLCHoklch(92.59% 0.173 112.9)
XYZxyz(66.7941, 81.3660, 21.4173)
Luminance0.8136 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F258 #6258F2
analogous
#F2AF58 #E8F258 #9BF258
triadic
#E8F258 #58E8F2 #F258E8
tetradic
#E8F258 #58F2AF #6258F2 #F2589B
square
#E8F258 #58F2AF #6258F2 #F2589B
split-complementary
#E8F258 #589BF2 #AF58F2
monochromatic
#B5C10F #E0EE1F #E8F258 #F0F691 #F8FBCA

Accessibility & contrast

On white

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

On black

17.27
#E8F258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F258
17.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F258#FFFFFF#000000##000000
##E8F2581.001.2217.2717.27
#FFFFFF1.221.0021.0021.00
#00000017.2721.001.001.00
##00000017.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE743
Deuteranopia (green-blind)
#FFEB62
Tritanopia (blue-blind)
#F7E4D2
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #e8f258;
/* rgb */ color: rgb(232, 242, 88);
/* oklch */ color: oklch(92.6% 0.173 112.9);
Tailwind
colors: {
  custom: {
    50: '#f3f68e',
    500: '#e8f258',
    950: '#000000',
  },
}
SCSS
$custom: #e8f258;
$custom-light: #f3f68e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f258",
  "rgb": {
    "r": 232,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 63.896,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.92591,
    "c": 0.17293,
    "h": 112.9
  },
  "luminance": 0.81365
}

Semantic roles & 50–950 ramp

primary
#E8F258
secondary
#3930BE
accent
#03E212
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E8F258

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

Preview Lab → · Contrast checker → · Palette generator →

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