#E8DC87#E8DC87

#E8DC87 is a very light, moderate yellow. Relative luminance 0.701; OKLCH L 88.6% C 0.107 H 101.3°. Best body text is #000000 at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#E8DC87
RGBrgb(232, 220, 135)
HSLhsl(53, 68%, 72%)
HSVhsv(53, 42%, 91%)
CMYKcmyk(0%, 5.2%, 41.8%, 9%)
CIE-LABlab(87.04, -7.63, 43.16)
CIE-LCHlch(87.04, 43.83, 100.03°)
OKLaboklab(88.57% -0.0209 0.1048)
OKLCHoklch(88.57% 0.107 101.3)
XYZxyz(63.2464, 70.0933, 33.1147)
Luminance0.7009 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DC87 #8793E8
analogous
#E8AC87 #E8DC87 #C4E887
triadic
#E8DC87 #87E8DC #DC87E8
tetradic
#E8DC87 #87E8AC #8793E8 #E887C4
square
#E8DC87 #87E8AC #8793E8 #E887C4
split-complementary
#E8DC87 #87C4E8 #AC87E8
monochromatic
#CDB927 #DECD54 #E8DC87 #F2EBBA #FAF8E5

Accessibility & contrast

On white

1.40
#E8DC87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.02
#E8DC87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DC87
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DC87#FFFFFF#000000##000000
##E8DC871.001.4015.0215.02
#FFFFFF1.401.0021.0021.00
#00000015.0221.001.001.00
##00000015.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD780
Deuteranopia (green-blind)
#EEDC8A
Tritanopia (blue-blind)
#F5D1C7
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e8dc87;
/* rgb */ color: rgb(232, 220, 135);
/* oklch */ color: oklch(88.6% 0.107 101.3);
Tailwind
colors: {
  custom: {
    50: '#f1e6ab',
    500: '#e8dc87',
    950: '#000000',
  },
}
SCSS
$custom: #e8dc87;
$custom-light: #f1e6ab;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dc87",
  "rgb": {
    "r": 232,
    "g": 220,
    "b": 135
  },
  "hsl": {
    "h": 52.577,
    "s": 67.832,
    "l": 71.961
  },
  "oklch": {
    "l": 0.88565,
    "c": 0.10689,
    "h": 101.3
  },
  "luminance": 0.70091
}

Semantic roles & 50–950 ramp

primary
#E8DC87
secondary
#5260C1
accent
#2DD016
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E8DC87

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

Preview Lab → · Contrast checker → · Palette generator →

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