#E5DC8A#E5DC8A

#E5DC8A is a very light, moderate yellow. Relative luminance 0.697; OKLCH L 88.4% C 0.104 H 102.9°. Best body text is #000000 at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#E5DC8A
RGBrgb(229, 220, 138)
HSLhsl(54, 64%, 72%)
HSVhsv(54, 40%, 90%)
CMYKcmyk(0%, 3.9%, 39.7%, 10.2%)
CIE-LABlab(86.84, -8.49, 41.36)
CIE-LCHlch(86.84, 42.23, 101.60°)
OKLaboklab(88.36% -0.023 0.1009)
OKLCHoklch(88.36% 0.104 102.9)
XYZxyz(62.4949, 69.6810, 34.1976)
Luminance0.6968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DC8A #8A93E5
analogous
#E5AF8A #E5DC8A #C1E58A
triadic
#E5DC8A #8AE5DC #DC8AE5
tetradic
#E5DC8A #8AE5AF #8A93E5 #E58AC1
square
#E5DC8A #8AE5AF #8A93E5 #E58AC1
split-complementary
#E5DC8A #8AC1E5 #AF8AE5
monochromatic
#C8B92C #DACD58 #E5DC8A #F0EBBC #F9F8E6

Accessibility & contrast

On white

1.41
#E5DC8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.94
#E5DC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DC8A
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DC8A#FFFFFF#000000##000000
##E5DC8A1.001.4114.9414.94
#FFFFFF1.411.0021.0021.00
#00000014.9421.001.001.00
##00000014.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD784
Deuteranopia (green-blind)
#EDDC8D
Tritanopia (blue-blind)
#F1D2C8
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #e5dc8a;
/* rgb */ color: rgb(229, 220, 138);
/* oklch */ color: oklch(88.4% 0.104 102.9);
Tailwind
colors: {
  custom: {
    50: '#eee6ad',
    500: '#e5dc8a',
    950: '#000000',
  },
}
SCSS
$custom: #e5dc8a;
$custom-light: #eee6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#e5dc8a",
  "rgb": {
    "r": 229,
    "g": 220,
    "b": 138
  },
  "hsl": {
    "h": 54.066,
    "s": 63.636,
    "l": 71.961
  },
  "oklch": {
    "l": 0.8836,
    "c": 0.10351,
    "h": 102.9
  },
  "luminance": 0.69679
}

Semantic roles & 50–950 ramp

primary
#E5DC8A
secondary
#5560BE
accent
#2CCB1A
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171510
muted
#858481

Preview Lab

Preview with #E5DC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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