#E8D857#E8D857

#E8D857 is a very light, vivid yellow. Relative luminance 0.670; OKLCH L 87.2% C 0.148 H 102.2°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).

Color values

HEX#E8D857
RGBrgb(232, 216, 87)
HSLhsl(53, 76%, 63%)
HSVhsv(53, 63%, 91%)
CMYKcmyk(0%, 6.9%, 62.5%, 9%)
CIE-LABlab(85.48, -9.57, 63.60)
CIE-LCHlch(85.48, 64.31, 98.55°)
OKLaboklab(87.16% -0.0314 0.1448)
OKLCHoklch(87.16% 0.148 102.2)
XYZxyz(59.5572, 66.9580, 18.8020)
Luminance0.6696 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D857 #5767E8
analogous
#E88F57 #E8D857 #B0E857
triadic
#E8D857 #57E8D8 #D857E8
tetradic
#E8D857 #57E88F #5767E8 #E857B0
square
#E8D857 #57E88F #5767E8 #E857B0
split-complementary
#E8D857 #57B0E8 #8F57E8
monochromatic
#AD9C18 #E1CC21 #E8D857 #EFE48D #F7F1C3

Accessibility & contrast

On white

1.46
#E8D857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.39
#E8D857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D857
14.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D857#FFFFFF#000000##000000
##E8D8571.001.4614.3914.39
#FFFFFF1.461.0021.0021.00
#00000014.3921.001.001.00
##00000014.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD248
Deuteranopia (green-blind)
#EFD95E
Tritanopia (blue-blind)
#F9CABD
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #e8d857;
/* rgb */ color: rgb(232, 216, 87);
/* oklch */ color: oklch(87.2% 0.148 102.2);
Tailwind
colors: {
  custom: {
    50: '#f3e38c',
    500: '#e8d857',
    950: '#000000',
  },
}
SCSS
$custom: #e8d857;
$custom-light: #f3e38c;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d857",
  "rgb": {
    "r": 232,
    "g": 216,
    "b": 87
  },
  "hsl": {
    "h": 53.379,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.87157,
    "c": 0.14818,
    "h": 102.2
  },
  "luminance": 0.66956
}

Semantic roles & 50–950 ramp

primary
#E8D857
secondary
#3543AE
accent
#24D80D
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150C
muted
#85847F

Preview Lab

Preview with #E8D857

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

Preview Lab → · Contrast checker → · Palette generator →

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