#E8D591#E8D591

#E8D591 is a very light, moderate yellow. Relative luminance 0.668; OKLCH L 87.3% C 0.089 H 94.4°. Best body text is #000000 at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#E8D591
RGBrgb(232, 213, 145)
HSLhsl(47, 65%, 74%)
HSVhsv(47, 38%, 91%)
CMYKcmyk(0%, 8.2%, 37.5%, 9%)
CIE-LABlab(85.40, -3.00, 36.02)
CIE-LCHlch(85.40, 36.14, 94.76°)
OKLaboklab(87.31% -0.0068 0.0889)
OKLCHoklch(87.31% 0.089 94.4)
XYZxyz(62.1850, 66.7906, 36.3988)
Luminance0.6679 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E8D591 #91A4E8
analogous
#E8AA91 #E8D591 #D0E891
triadic
#E8D591 #91E8D5 #D591E8
tetradic
#E8D591 #91E8AA #91A4E8 #E891D0
square
#E8D591 #91E8AA #91A4E8 #E891D0
split-complementary
#E8D591 #91D0E8 #AA91E8
monochromatic
#D3AE2C #DDC25E #E8D591 #F3E8C4 #FAF5E6

Accessibility & contrast

On white

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

On black

14.36
#E8D591 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E8D591
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E8D591#FFFFFF#000000##000000
##E8D5911.001.4614.3614.36
#FFFFFF1.461.0021.0021.00
#00000014.3621.001.001.00
##00000014.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3D28C
Deuteranopia (green-blind)
#E8D893
Tritanopia (blue-blind)
#F5CBC4
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #e8d591;
/* rgb */ color: rgb(232, 213, 145);
/* oklch */ color: oklch(87.3% 0.089 94.4);
Tailwind
colors: {
  custom: {
    50: '#f0e1b2',
    500: '#e8d591',
    950: '#000000',
  },
}
SCSS
$custom: #e8d591;
$custom-light: #f0e1b2;
$custom-dark: #000000;
JSON
{
  "hex": "#e8d591",
  "rgb": {
    "r": 232,
    "g": 213,
    "b": 145
  },
  "hsl": {
    "h": 46.897,
    "s": 65.414,
    "l": 73.922
  },
  "oklch": {
    "l": 0.87312,
    "c": 0.08917,
    "h": 94.4
  },
  "luminance": 0.66789
}

Semantic roles & 50–950 ramp

primary
#E8D591
secondary
#5B72C2
accent
#40CD18
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#171511
muted
#858481

Preview Lab

Preview with #E8D591

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

Preview Lab → · Contrast checker → · Palette generator →

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