#E4DE8A#E4DE8A

#E4DE8A is a very light, moderate yellow. Relative luminance 0.706; OKLCH L 88.7% C 0.106 H 104.8°. Best body text is #000000 at 15.11:1 contrast (WCAG AA passes).

Color values

HEX#E4DE8A
RGBrgb(228, 222, 138)
HSLhsl(56, 63%, 72%)
HSVhsv(56, 39%, 89%)
CMYKcmyk(0%, 2.6%, 39.5%, 10.6%)
CIE-LABlab(87.28, -9.89, 41.90)
CIE-LCHlch(87.28, 43.05, 103.28°)
OKLaboklab(88.69% -0.027 0.1022)
OKLCHoklch(88.69% 0.106 104.8)
XYZxyz(62.7047, 70.5730, 34.3587)
Luminance0.7057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DE8A #8A90E4
analogous
#E4B18A #E4DE8A #BDE48A
triadic
#E4DE8A #8AE4DE #DE8AE4
tetradic
#E4DE8A #8AE4B1 #8A90E4 #E48ABD
square
#E4DE8A #8AE4B1 #8A90E4 #E48ABD
split-complementary
#E4DE8A #8ABDE4 #B18AE4
monochromatic
#C6BC2E #D9D058 #E4DE8A #EFECBC #F9F8E6

Accessibility & contrast

On white

1.39
#E4DE8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.11
#E4DE8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DE8A
15.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DE8A#FFFFFF#000000##000000
##E4DE8A1.001.3915.1115.11
#FFFFFF1.391.0021.0021.00
#00000015.1121.001.001.00
##00000015.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECD884
Deuteranopia (green-blind)
#EEDD8E
Tritanopia (blue-blind)
#F0D4C9
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #e4de8a;
/* rgb */ color: rgb(228, 222, 138);
/* oklch */ color: oklch(88.7% 0.106 104.8);
Tailwind
colors: {
  custom: {
    50: '#eee8ad',
    500: '#e4de8a',
    950: '#000000',
  },
}
SCSS
$custom: #e4de8a;
$custom-light: #eee8ad;
$custom-dark: #000000;
JSON
{
  "hex": "#e4de8a",
  "rgb": {
    "r": 228,
    "g": 222,
    "b": 138
  },
  "hsl": {
    "h": 56,
    "s": 62.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.88687,
    "c": 0.10566,
    "h": 104.8
  },
  "luminance": 0.70572
}

Semantic roles & 50–950 ramp

primary
#E4DE8A
secondary
#565CBD
accent
#27CA1B
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161610
muted
#858481

Preview Lab

Preview with #E4DE8A

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

Preview Lab → · Contrast checker → · Palette generator →

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