#E8E158#E8E158

#E8E158 is a very light, vivid yellow. Relative luminance 0.717; OKLCH L 89.0% C 0.156 H 106.4°. Best body text is #000000 at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#E8E158
RGBrgb(232, 225, 88)
HSLhsl(57, 76%, 63%)
HSVhsv(57, 62%, 91%)
CMYKcmyk(0%, 3%, 62.1%, 9%)
CIE-LABlab(87.83, -13.99, 65.69)
CIE-LCHlch(87.83, 67.17, 102.02°)
OKLaboklab(89.03% -0.0439 0.1494)
OKLCHoklch(89.03% 0.156 106.4)
XYZxyz(61.9675, 71.7129, 19.8084)
Luminance0.7171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E158 #585FE8
analogous
#E89958 #E8E158 #A7E858
triadic
#E8E158 #58E8E1 #E158E8
tetradic
#E8E158 #58E899 #585FE8 #E858A7
square
#E8E158 #58E899 #585FE8 #E858A7
split-complementary
#E8E158 #58A7E8 #9958E8
monochromatic
#AEA618 #E1D722 #E8E158 #EFEB8E #F7F4C4

Accessibility & contrast

On white

1.37
#E8E158 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.34
#E8E158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E158
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E158#FFFFFF#000000##000000
##E8E1581.001.3715.3415.34
#FFFFFF1.371.0021.0021.00
#00000015.3421.001.001.00
##00000015.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3D947
Deuteranopia (green-blind)
#F6DF60
Tritanopia (blue-blind)
#F8D3C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e8e158;
/* rgb */ color: rgb(232, 225, 88);
/* oklch */ color: oklch(89.0% 0.156 106.4);
Tailwind
colors: {
  custom: {
    50: '#f2ea8d',
    500: '#e8e158',
    950: '#000000',
  },
}
SCSS
$custom: #e8e158;
$custom-light: #f2ea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e158",
  "rgb": {
    "r": 232,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 57.083,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.89027,
    "c": 0.1557,
    "h": 106.4
  },
  "luminance": 0.71711
}

Semantic roles & 50–950 ramp

primary
#E8E158
secondary
#363BAF
accent
#17D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E8E158

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

Preview Lab → · Contrast checker → · Palette generator →

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