#E8F958#E8F958

#E8F958 is a very light, vivid yellow. Relative luminance 0.856; OKLCH L 94.1% C 0.180 H 115.1°. Best body text is #000000 at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#E8F958
RGBrgb(232, 249, 88)
HSLhsl(66, 93%, 66%)
HSVhsv(66, 65%, 98%)
CMYKcmyk(6.8%, 0%, 64.7%, 2.4%)
CIE-LABlab(94.15, -25.58, 72.33)
CIE-LCHlch(94.15, 76.72, 109.47°)
OKLaboklab(94.07% -0.0765 0.1634)
OKLCHoklch(94.07% 0.18 115.1)
XYZxyz(68.9175, 85.6129, 22.1251)
Luminance0.8561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8F958 #6958F9
analogous
#F9B958 #E8F958 #97F958
triadic
#E8F958 #58E8F9 #F958E8
tetradic
#E8F958 #58F9B9 #6958F9 #F95897
square
#E8F958 #58F9B9 #6958F9 #F95897
split-complementary
#E8F958 #5897F9 #B958F9
monochromatic
#BACF07 #E0F71D #E8F958 #F0FB93 #F8FDCE

Accessibility & contrast

On white

1.16
#E8F958 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.12
#E8F958 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8F958
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8F958#FFFFFF#000000##000000
##E8F9581.001.1618.1218.12
#FFFFFF1.161.0021.0021.00
#00000018.1221.001.001.00
##00000018.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED42
Deuteranopia (green-blind)
#FFF063
Tritanopia (blue-blind)
#F6EBD8
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #e8f958;
/* rgb */ color: rgb(232, 249, 88);
/* oklch */ color: oklch(94.1% 0.180 115.1);
Tailwind
colors: {
  custom: {
    50: '#f3fb8f',
    500: '#e8f958',
    950: '#000000',
  },
}
SCSS
$custom: #e8f958;
$custom-light: #f3fb8f;
$custom-dark: #000000;
JSON
{
  "hex": "#e8f958",
  "rgb": {
    "r": 232,
    "g": 249,
    "b": 88
  },
  "hsl": {
    "h": 66.335,
    "s": 93.064,
    "l": 66.078
  },
  "oklch": {
    "l": 0.94074,
    "c": 0.18041,
    "h": 115.1
  },
  "luminance": 0.85612
}

Semantic roles & 50–950 ramp

primary
#E8F958
secondary
#3C2BCA
accent
#00E618
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#17170D
muted
#85857F

Preview Lab

Preview with #E8F958

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

Preview Lab → · Contrast checker → · Palette generator →

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