#E8DD87#E8DD87

#E8DD87 is a very light, moderate yellow. Relative luminance 0.706; OKLCH L 88.8% C 0.108 H 102.0°. Best body text is #000000 at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#E8DD87
RGBrgb(232, 221, 135)
HSLhsl(53, 68%, 72%)
HSVhsv(53, 42%, 91%)
CMYKcmyk(0%, 4.7%, 41.8%, 9%)
CIE-LABlab(87.30, -8.14, 43.49)
CIE-LCHlch(87.30, 44.24, 100.60°)
OKLaboklab(88.77% -0.0224 0.1056)
OKLCHoklch(88.77% 0.108 102)
XYZxyz(63.5096, 70.6198, 33.2025)
Luminance0.7062 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8DD87 #8792E8
analogous
#E8AD87 #E8DD87 #C3E887
triadic
#E8DD87 #87E8DD #DD87E8
tetradic
#E8DD87 #87E8AD #8792E8 #E887C3
square
#E8DD87 #87E8AD #8792E8 #E887C3
split-complementary
#E8DD87 #87C3E8 #AD87E8
monochromatic
#CDBA27 #DECE54 #E8DD87 #F2ECBA #FAF8E5

Accessibility & contrast

On white

1.39
#E8DD87 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.12
#E8DD87 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8DD87
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8DD87#FFFFFF#000000##000000
##E8DD871.001.3915.1215.12
#FFFFFF1.391.0021.0021.00
#00000015.1221.001.001.00
##00000015.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBD880
Deuteranopia (green-blind)
#EFDD8B
Tritanopia (blue-blind)
#F5D2C8
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e8dd87;
/* rgb */ color: rgb(232, 221, 135);
/* oklch */ color: oklch(88.8% 0.108 102.0);
Tailwind
colors: {
  custom: {
    50: '#f1e7ab',
    500: '#e8dd87',
    950: '#000000',
  },
}
SCSS
$custom: #e8dd87;
$custom-light: #f1e7ab;
$custom-dark: #000000;
JSON
{
  "hex": "#e8dd87",
  "rgb": {
    "r": 232,
    "g": 221,
    "b": 135
  },
  "hsl": {
    "h": 53.196,
    "s": 67.832,
    "l": 71.961
  },
  "oklch": {
    "l": 0.88769,
    "c": 0.1079,
    "h": 102
  },
  "luminance": 0.70618
}

Semantic roles & 50–950 ramp

primary
#E8DD87
secondary
#525EC1
accent
#2BD016
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #E8DD87

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

Preview Lab → · Contrast checker → · Palette generator →

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