#E8F058#E8F058

#E8F058 is a very light, vivid yellow. Relative luminance 0.802; OKLCH L 92.2% C 0.171 H 112.2°. Best body text is #000000 at 17.04:1 contrast (WCAG AA passes).

Color values

HEX#E8F058
RGBrgb(232, 240, 88)
HSLhsl(63, 84%, 64%)
HSVhsv(63, 63%, 94%)
CMYKcmyk(3.3%, 0%, 63.3%, 5.9%)
CIE-LABlab(91.77, -21.30, 69.85)
CIE-LCHlch(91.77, 73.02, 106.96°)
OKLaboklab(92.17% -0.0645 0.1582)
OKLCHoklch(92.17% 0.171 112.2)
XYZxyz(66.2021, 80.1820, 21.2199)
Luminance0.8018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F058 #6058F0
analogous
#F0AC58 #E8F058 #9CF058
triadic
#E8F058 #58E8F0 #F058E8
tetradic
#E8F058 #58F0AC #6058F0 #F0589C
square
#E8F058 #58F0AC #6058F0 #F0589C
split-complementary
#E8F058 #589CF0 #AC58F0
monochromatic
#B4BD11 #E0EB20 #E8F058 #F0F590 #F7FAC8

Accessibility & contrast

On white

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

On black

17.04
#E8F058 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F058
17.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F058#FFFFFF#000000##000000
##E8F0581.001.2317.0417.04
#FFFFFF1.231.0021.0021.00
#00000017.0421.001.001.00
##00000017.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8f058;
/* rgb */ color: rgb(232, 240, 88);
/* oklch */ color: oklch(92.2% 0.171 112.2);
Tailwind
colors: {
  custom: {
    50: '#f3f48e',
    500: '#e8f058',
    950: '#000000',
  },
}
SCSS
$custom: #e8f058;
$custom-light: #f3f48e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f058",
  "rgb": {
    "r": 232,
    "g": 240,
    "b": 88
  },
  "hsl": {
    "h": 63.158,
    "s": 83.516,
    "l": 64.314
  },
  "oklch": {
    "l": 0.92168,
    "c": 0.17082,
    "h": 112.2
  },
  "luminance": 0.80181
}

Semantic roles & 50–950 ramp

primary
#E8F058
secondary
#3831BB
accent
#06E011
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E8F058

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

Preview Lab → · Contrast checker → · Palette generator →

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