#E8DB57#E8DB57

#E8DB57 is a very light, vivid yellow. Relative luminance 0.685; OKLCH L 87.8% C 0.151 H 103.7°. Best body text is #000000 at 14.70:1 contrast (WCAG AA passes).

Color values

HEX#E8DB57
RGBrgb(232, 219, 87)
HSLhsl(55, 76%, 63%)
HSVhsv(55, 63%, 91%)
CMYKcmyk(0%, 5.6%, 62.5%, 9%)
CIE-LABlab(86.26, -11.07, 64.43)
CIE-LCHlch(86.26, 65.37, 99.75°)
OKLaboklab(87.78% -0.0357 0.1466)
OKLCHoklch(87.78% 0.151 103.7)
XYZxyz(60.3328, 68.5092, 19.0605)
Luminance0.6851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DB57 #5764E8
analogous
#E89357 #E8DB57 #ACE857
triadic
#E8DB57 #57E8DB #DB57E8
tetradic
#E8DB57 #57E893 #5764E8 #E857AC
square
#E8DB57 #57E893 #5764E8 #E857AC
split-complementary
#E8DB57 #57ACE8 #9357E8
monochromatic
#ADA018 #E1CF21 #E8DB57 #EFE78D #F7F2C3

Accessibility & contrast

On white

1.43
#E8DB57 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.70
#E8DB57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DB57
14.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DB57#FFFFFF#000000##000000
##E8DB571.001.4314.7014.70
#FFFFFF1.431.0021.0021.00
#00000014.7021.001.001.00
##00000014.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD447
Deuteranopia (green-blind)
#F2DB5F
Tritanopia (blue-blind)
#F8CDBF
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e8db57;
/* rgb */ color: rgb(232, 219, 87);
/* oklch */ color: oklch(87.8% 0.151 103.7);
Tailwind
colors: {
  custom: {
    50: '#f2e58c',
    500: '#e8db57',
    950: '#000000',
  },
}
SCSS
$custom: #e8db57;
$custom-light: #f2e58c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8db57",
  "rgb": {
    "r": 232,
    "g": 219,
    "b": 87
  },
  "hsl": {
    "h": 54.621,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.87775,
    "c": 0.15087,
    "h": 103.7
  },
  "luminance": 0.68507
}

Semantic roles & 50–950 ramp

primary
#E8DB57
secondary
#3540AE
accent
#20D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8DB57

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

Preview Lab → · Contrast checker → · Palette generator →

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