#E8E157#E8E157

#E8E157 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#E8E157
RGBrgb(232, 225, 87)
HSLhsl(57, 76%, 63%)
HSVhsv(57, 63%, 91%)
CMYKcmyk(0%, 3%, 62.5%, 9%)
CIE-LABlab(87.82, -14.05, 66.09)
CIE-LCHlch(87.82, 67.57, 102.00°)
OKLaboklab(89.02% -0.0442 0.1501)
OKLCHoklch(89.02% 0.156 106.4)
XYZxyz(61.9264, 71.6964, 19.5917)
Luminance0.7169 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E157 #575EE8
analogous
#E89857 #E8E157 #A7E857
triadic
#E8E157 #57E8E1 #E157E8
tetradic
#E8E157 #57E898 #575EE8 #E857A7
square
#E8E157 #57E898 #575EE8 #E857A7
split-complementary
#E8E157 #57A7E8 #9857E8
monochromatic
#ADA618 #E1D721 #E8E157 #EFEB8D #F7F4C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E8E157#FFFFFF#000000##000000
##E8E1571.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)
#F3D946
Deuteranopia (green-blind)
#F6DF5F
Tritanopia (blue-blind)
#F8D3C4
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e8e157;
/* rgb */ color: rgb(232, 225, 87);
/* oklch */ color: oklch(89.0% 0.156 106.4);
Tailwind
colors: {
  custom: {
    50: '#f2ea8c',
    500: '#e8e157',
    950: '#000000',
  },
}
SCSS
$custom: #e8e157;
$custom-light: #f2ea8c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e157",
  "rgb": {
    "r": 232,
    "g": 225,
    "b": 87
  },
  "hsl": {
    "h": 57.103,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.89018,
    "c": 0.15646,
    "h": 106.4
  },
  "luminance": 0.71694
}

Semantic roles & 50–950 ramp

primary
#E8E157
secondary
#353BAE
accent
#17D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E8E157

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

Preview Lab → · Contrast checker → · Palette generator →

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