#E5DF8A#E5DF8A

#E5DF8A is a very light, moderate yellow. Relative luminance 0.713; OKLCH L 89.0% C 0.107 H 104.9°. Best body text is #000000 at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#E5DF8A
RGBrgb(229, 223, 138)
HSLhsl(56, 64%, 72%)
HSVhsv(56, 40%, 90%)
CMYKcmyk(0%, 2.6%, 39.7%, 10.2%)
CIE-LABlab(87.62, -10.00, 42.35)
CIE-LCHlch(87.62, 43.52, 103.29°)
OKLaboklab(88.98% -0.0274 0.1032)
OKLCHoklch(88.98% 0.107 104.9)
XYZxyz(63.2893, 71.2699, 34.4624)
Luminance0.7127 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E5DF8A #8A90E5
analogous
#E5B28A #E5DF8A #BEE58A
triadic
#E5DF8A #8AE5DF #DF8AE5
tetradic
#E5DF8A #8AE5B2 #8A90E5 #E58ABE
square
#E5DF8A #8AE5B2 #8A90E5 #E58ABE
split-complementary
#E5DF8A #8ABEE5 #B28AE5
monochromatic
#C8BE2C #DAD158 #E5DF8A #F0EDBC #F9F8E6

Accessibility & contrast

On white

1.38
#E5DF8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.25
#E5DF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E5DF8A
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E5DF8A#FFFFFF#000000##000000
##E5DF8A1.001.3815.2515.25
#FFFFFF1.381.0021.0021.00
#00000015.2521.001.001.00
##00000015.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDD983
Deuteranopia (green-blind)
#EFDE8E
Tritanopia (blue-blind)
#F1D5CA
Achromatopsia (no color)
#DCDCDC

Design tokens & code

CSS
--color: #e5df8a;
/* rgb */ color: rgb(229, 223, 138);
/* oklch */ color: oklch(89.0% 0.107 104.9);
Tailwind
colors: {
  custom: {
    50: '#eee8ad',
    500: '#e5df8a',
    950: '#000000',
  },
}
SCSS
$custom: #e5df8a;
$custom-light: #eee8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#e5df8a",
  "rgb": {
    "r": 229,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 56.044,
    "s": 63.636,
    "l": 71.961
  },
  "oklch": {
    "l": 0.88975,
    "c": 0.10673,
    "h": 104.9
  },
  "luminance": 0.71268
}

Semantic roles & 50–950 ramp

primary
#E5DF8A
secondary
#555CBE
accent
#26CB1A
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#171610
muted
#858481

Preview Lab

Preview with #E5DF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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