#E8E957#E8E957

#E8E957 is a very light, vivid yellow. Relative luminance 0.761; OKLCH L 90.7% C 0.164 H 109.6°. Best body text is #000000 at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#E8E957
RGBrgb(232, 233, 87)
HSLhsl(60, 77%, 63%)
HSVhsv(60, 63%, 91%)
CMYKcmyk(0.4%, 0%, 62.7%, 8.6%)
CIE-LABlab(89.92, -17.97, 68.30)
CIE-LCHlch(89.92, 70.63, 104.74°)
OKLaboklab(90.69% -0.0553 0.1548)
OKLCHoklch(90.69% 0.164 109.6)
XYZxyz(64.1399, 76.1235, 20.3296)
Luminance0.7612 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8E957 #5857E9
analogous
#E9A157 #E8E957 #9FE957
triadic
#E8E957 #57E8E9 #E957E8
tetradic
#E8E957 #57E9A1 #5857E9 #E9579F
square
#E8E957 #57E9A1 #5857E9 #E9579F
split-complementary
#E8E957 #579FE9 #A157E9
monochromatic
#AEAF17 #E1E221 #E8E957 #EFF08D #F7F7C3

Accessibility & contrast

On white

1.29
#E8E957 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.22
#E8E957 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8E957
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8E957#FFFFFF#000000##000000
##E8E9571.001.2916.2216.22
#FFFFFF1.291.0021.0021.00
#00000016.2221.001.001.00
##00000016.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE044
Deuteranopia (green-blind)
#FCE460
Tritanopia (blue-blind)
#F7DBCB
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #e8e957;
/* rgb */ color: rgb(232, 233, 87);
/* oklch */ color: oklch(90.7% 0.164 109.6);
Tailwind
colors: {
  custom: {
    50: '#f3ef8d',
    500: '#e8e957',
    950: '#000000',
  },
}
SCSS
$custom: #e8e957;
$custom-light: #f3ef8d;
$custom-dark: #000000;
JSON
{
  "hex": "#e8e957",
  "rgb": {
    "r": 232,
    "g": 233,
    "b": 87
  },
  "hsl": {
    "h": 60.411,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.90688,
    "c": 0.16434,
    "h": 109.6
  },
  "luminance": 0.76122
}

Semantic roles & 50–950 ramp

primary
#E8E957
secondary
#3635AF
accent
#0CD90E
background
#FFFFFC
surface
#FFFEF4
border
#D7D6CE
text
#17160D
muted
#85857F

Preview Lab

Preview with #E8E957

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

Preview Lab → · Contrast checker → · Palette generator →

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