#E8E057#E8E057

#E8E057 is a very light, vivid yellow. Relative luminance 0.712; OKLCH L 88.8% C 0.156 H 106.0°. Best body text is #000000 at 15.23:1 contrast (WCAG AA passes).

Color values

HEX#E8E057
RGBrgb(232, 224, 87)
HSLhsl(57, 76%, 63%)
HSVhsv(57, 63%, 91%)
CMYKcmyk(0%, 3.4%, 62.5%, 9%)
CIE-LABlab(87.56, -13.56, 65.82)
CIE-LCHlch(87.56, 67.20, 101.64°)
OKLaboklab(88.81% -0.0428 0.1495)
OKLCHoklch(88.81% 0.156 106)
XYZxyz(61.6568, 71.1573, 19.5019)
Luminance0.7116 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E057 #575FE8
analogous
#E89857 #E8E057 #A7E857
triadic
#E8E057 #57E8E0 #E057E8
tetradic
#E8E057 #57E898 #575FE8 #E857A7
square
#E8E057 #57E898 #575FE8 #E857A7
split-complementary
#E8E057 #57A7E8 #9857E8
monochromatic
#ADA518 #E1D621 #E8E057 #EFEA8D #F7F4C3

Accessibility & contrast

On white

1.38
#E8E057 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.23
#E8E057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E057
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E057#FFFFFF#000000##000000
##E8E0571.001.3815.2315.23
#FFFFFF1.381.0021.0021.00
#00000015.2321.001.001.00
##00000015.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2D846
Deuteranopia (green-blind)
#F5DE5F
Tritanopia (blue-blind)
#F8D2C3
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e8e057;
/* rgb */ color: rgb(232, 224, 87);
/* oklch */ color: oklch(88.8% 0.156 106.0);
Tailwind
colors: {
  custom: {
    50: '#f2e98c',
    500: '#e8e057',
    950: '#000000',
  },
}
SCSS
$custom: #e8e057;
$custom-light: #f2e98c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e057",
  "rgb": {
    "r": 232,
    "g": 224,
    "b": 87
  },
  "hsl": {
    "h": 56.69,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.8881,
    "c": 0.15551,
    "h": 106
  },
  "luminance": 0.71155
}

Semantic roles & 50–950 ramp

primary
#E8E057
secondary
#353CAE
accent
#19D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17160D
muted
#85847F

Preview Lab

Preview with #E8E057

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

Preview Lab → · Contrast checker → · Palette generator →

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