#E4DB8A#E4DB8A

#E4DB8A is a very light, moderate yellow. Relative luminance 0.690; OKLCH L 88.1% C 0.102 H 102.8°. Best body text is #000000 at 14.80:1 contrast (WCAG AA passes).

Color values

HEX#E4DB8A
RGBrgb(228, 219, 138)
HSLhsl(54, 63%, 72%)
HSVhsv(54, 39%, 89%)
CMYKcmyk(0%, 3.9%, 39.5%, 10.6%)
CIE-LABlab(86.50, -8.38, 40.91)
CIE-LCHlch(86.50, 41.76, 101.58°)
OKLaboklab(88.07% -0.0227 0.0999)
OKLCHoklch(88.07% 0.102 102.8)
XYZxyz(61.9150, 68.9936, 34.0954)
Luminance0.6899 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DB8A #8A93E4
analogous
#E4AE8A #E4DB8A #C0E48A
triadic
#E4DB8A #8AE4DB #DB8AE4
tetradic
#E4DB8A #8AE4AE #8A93E4 #E48AC0
square
#E4DB8A #8AE4AE #8A93E4 #E48AC0
split-complementary
#E4DB8A #8AC0E4 #AE8AE4
monochromatic
#C6B72E #D9CC58 #E4DB8A #EFEABC #F9F7E6

Accessibility & contrast

On white

1.42
#E4DB8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.80
#E4DB8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DB8A
14.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DB8A#FFFFFF#000000##000000
##E4DB8A1.001.4214.8014.80
#FFFFFF1.421.0021.0021.00
#00000014.8021.001.001.00
##00000014.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E9D684
Deuteranopia (green-blind)
#ECDB8D
Tritanopia (blue-blind)
#F0D1C7
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #e4db8a;
/* rgb */ color: rgb(228, 219, 138);
/* oklch */ color: oklch(88.1% 0.102 102.8);
Tailwind
colors: {
  custom: {
    50: '#eee6ad',
    500: '#e4db8a',
    950: '#000000',
  },
}
SCSS
$custom: #e4db8a;
$custom-light: #eee6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#e4db8a",
  "rgb": {
    "r": 228,
    "g": 219,
    "b": 138
  },
  "hsl": {
    "h": 54,
    "s": 62.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.88071,
    "c": 0.10244,
    "h": 102.8
  },
  "luminance": 0.68992
}

Semantic roles & 50–950 ramp

primary
#E4DB8A
secondary
#5660BD
accent
#2DCA1B
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E4DB8A

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

Preview Lab → · Contrast checker → · Palette generator →

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