#E8E159#E8E159

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

Color values

HEX#E8E159
RGBrgb(232, 225, 89)
HSLhsl(57, 76%, 63%)
HSVhsv(57, 62%, 91%)
CMYKcmyk(0%, 3%, 61.6%, 9%)
CIE-LABlab(87.84, -13.93, 65.29)
CIE-LCHlch(87.84, 66.76, 102.04°)
OKLaboklab(89.04% -0.0436 0.1487)
OKLCHoklch(89.04% 0.155 106.3)
XYZxyz(62.0092, 71.7295, 20.0280)
Luminance0.7173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E159 #5960E8
analogous
#E89959 #E8E159 #A7E859
triadic
#E8E159 #59E8E1 #E159E8
tetradic
#E8E159 #59E899 #5960E8 #E859A7
square
#E8E159 #59E899 #5960E8 #E859A7
split-complementary
#E8E159 #59A7E8 #9959E8
monochromatic
#AEA718 #E1D723 #E8E159 #EFEB8F #F7F4C5

Accessibility & contrast

On white

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

On black

15.35
#E8E159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E159
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E159#FFFFFF#000000##000000
##E8E1591.001.3715.3515.35
#FFFFFF1.371.0021.0021.00
#00000015.3521.001.001.00
##00000015.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e8e159;
/* rgb */ color: rgb(232, 225, 89);
/* oklch */ color: oklch(89.0% 0.155 106.3);
Tailwind
colors: {
  custom: {
    50: '#f2ea8e',
    500: '#e8e159',
    950: '#000000',
  },
}
SCSS
$custom: #e8e159;
$custom-light: #f2ea8e;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e159",
  "rgb": {
    "r": 232,
    "g": 225,
    "b": 89
  },
  "hsl": {
    "h": 57.063,
    "s": 75.661,
    "l": 62.941
  },
  "oklch": {
    "l": 0.89036,
    "c": 0.15494,
    "h": 106.3
  },
  "luminance": 0.71728
}

Semantic roles & 50–950 ramp

primary
#E8E159
secondary
#363CAF
accent
#18D80E
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E8E159

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

Preview Lab → · Contrast checker → · Palette generator →

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