#E8E457#E8E457

#E8E457 is a very light, vivid yellow. Relative luminance 0.733; OKLCH L 89.6% C 0.159 H 107.7°. Best body text is #000000 at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#E8E457
RGBrgb(232, 228, 87)
HSLhsl(58, 76%, 63%)
HSVhsv(58, 63%, 91%)
CMYKcmyk(0%, 1.7%, 62.5%, 9%)
CIE-LABlab(88.61, -15.53, 66.92)
CIE-LCHlch(88.61, 68.70, 103.06°)
OKLaboklab(89.64% -0.0484 0.1519)
OKLCHoklch(89.64% 0.159 107.7)
XYZxyz(62.7445, 73.3327, 19.8644)
Luminance0.7333 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E457 #575BE8
analogous
#E89C57 #E8E457 #A3E857
triadic
#E8E457 #57E8E4 #E457E8
tetradic
#E8E457 #57E89C #575BE8 #E857A3
square
#E8E457 #57E89C #575BE8 #E857A3
split-complementary
#E8E457 #57A3E8 #9C57E8
monochromatic
#ADA918 #E1DB21 #E8E457 #EFED8D #F7F5C3

Accessibility & contrast

On white

1.34
#E8E457 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.67
#E8E457 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E457
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E457#FFFFFF#000000##000000
##E8E4571.001.3415.6715.67
#FFFFFF1.341.0021.0021.00
#00000015.6721.001.001.00
##00000015.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DB45
Deuteranopia (green-blind)
#F8E160
Tritanopia (blue-blind)
#F8D6C7
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e8e457;
/* rgb */ color: rgb(232, 228, 87);
/* oklch */ color: oklch(89.6% 0.159 107.7);
Tailwind
colors: {
  custom: {
    50: '#f2ec8d',
    500: '#e8e457',
    950: '#000000',
  },
}
SCSS
$custom: #e8e457;
$custom-light: #f2ec8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e457",
  "rgb": {
    "r": 232,
    "g": 228,
    "b": 87
  },
  "hsl": {
    "h": 58.345,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.89642,
    "c": 0.15936,
    "h": 107.7
  },
  "luminance": 0.73331
}

Semantic roles & 50–950 ramp

primary
#E8E457
secondary
#3539AE
accent
#13D80D
background
#FFFEFC
surface
#FFFDF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E8E457

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

Preview Lab → · Contrast checker → · Palette generator →

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