#E5DC97#E5DC97

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

Color values

HEX#E5DC97
RGBrgb(229, 220, 151)
HSLhsl(53, 60%, 75%)
HSVhsv(53, 34%, 90%)
CMYKcmyk(0%, 3.9%, 34.1%, 10.2%)
CIE-LABlab(87.04, -7.04, 35.06)
CIE-LCHlch(87.04, 35.76, 101.35°)
OKLaboklab(88.58% -0.018 0.0869)
OKLCHoklch(88.58% 0.089 101.7)
XYZxyz(63.4930, 70.0803, 39.4543)
Luminance0.7008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DC97 #97A0E5
analogous
#E5B597 #E5DC97 #C7E597
triadic
#E5DC97 #97E5DC #DC97E5
tetradic
#E5DC97 #97E5B5 #97A0E5 #E597C7
square
#E5DC97 #97E5B5 #97A0E5 #E597C7
split-complementary
#E5DC97 #97C7E5 #B597E5
monochromatic
#CDBB35 #D9CC66 #E5DC97 #F1ECC8 #F9F7E7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##E5DC97#FFFFFF#000000##000000
##E5DC971.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)
#E8D892
Deuteranopia (green-blind)
#EBDC9A
Tritanopia (blue-blind)
#F0D3CA
Achromatopsia (no color)
#DADADA

Design tokens & code

CSS
--color: #e5dc97;
/* rgb */ color: rgb(229, 220, 151);
/* oklch */ color: oklch(88.6% 0.089 101.7);
Tailwind
colors: {
  custom: {
    50: '#eee6b6',
    500: '#e5dc97',
    950: '#000000',
  },
}
SCSS
$custom: #e5dc97;
$custom-light: #eee6b6;
$custom-dark: #000000;
JSON
{
  "hex": "#e5dc97",
  "rgb": {
    "r": 229,
    "g": 220,
    "b": 151
  },
  "hsl": {
    "h": 53.077,
    "s": 60,
    "l": 74.51
  },
  "oklch": {
    "l": 0.88579,
    "c": 0.08874,
    "h": 101.7
  },
  "luminance": 0.70079
}

Semantic roles & 50–950 ramp

primary
#E5DC97
secondary
#626CBF
accent
#31C81E
background
#FFFEFD
surface
#FEFCF8
border
#D6D5D1
text
#161611
muted
#858481

Preview Lab

Preview with #E5DC97

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

Preview Lab → · Contrast checker → · Palette generator →

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