#E4DF8A#E4DF8A

#E4DF8A is a very light, moderate yellow. Relative luminance 0.711; OKLCH L 88.9% C 0.107 H 105.5°. Best body text is #000000 at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#E4DF8A
RGBrgb(228, 223, 138)
HSLhsl(57, 63%, 72%)
HSVhsv(57, 39%, 89%)
CMYKcmyk(0%, 2.2%, 39.5%, 10.6%)
CIE-LABlab(87.54, -10.39, 42.23)
CIE-LCHlch(87.54, 43.49, 103.83°)
OKLaboklab(88.89% -0.0284 0.1029)
OKLCHoklch(88.89% 0.107 105.5)
XYZxyz(62.9711, 71.1058, 34.4474)
Luminance0.7110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DF8A #8A8FE4
analogous
#E4B28A #E4DF8A #BCE48A
triadic
#E4DF8A #8AE4DF #DF8AE4
tetradic
#E4DF8A #8AE4B2 #8A8FE4 #E48ABC
square
#E4DF8A #8AE4B2 #8A8FE4 #E48ABC
split-complementary
#E4DF8A #8ABCE4 #B28AE4
monochromatic
#C6BD2E #D9D158 #E4DF8A #EFEDBC #F9F8E6

Accessibility & contrast

On white

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

On black

15.22
#E4DF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DF8A
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DF8A#FFFFFF#000000##000000
##E4DF8A1.001.3815.2215.22
#FFFFFF1.381.0021.0021.00
#00000015.2221.001.001.00
##00000015.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD984
Deuteranopia (green-blind)
#EFDD8E
Tritanopia (blue-blind)
#F0D5CA
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e4df8a;
/* rgb */ color: rgb(228, 223, 138);
/* oklch */ color: oklch(88.9% 0.107 105.5);
Tailwind
colors: {
  custom: {
    50: '#eee8ad',
    500: '#e4df8a',
    950: '#000000',
  },
}
SCSS
$custom: #e4df8a;
$custom-light: #eee8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#e4df8a",
  "rgb": {
    "r": 228,
    "g": 223,
    "b": 138
  },
  "hsl": {
    "h": 56.667,
    "s": 62.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.88892,
    "c": 0.10677,
    "h": 105.5
  },
  "luminance": 0.71104
}

Semantic roles & 50–950 ramp

primary
#E4DF8A
secondary
#565BBD
accent
#25CA1B
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E4DF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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