#E4DC8A#E4DC8A

#E4DC8A is a very light, moderate yellow. Relative luminance 0.695; OKLCH L 88.3% C 0.103 H 103.5°. Best body text is #000000 at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#E4DC8A
RGBrgb(228, 220, 138)
HSLhsl(55, 63%, 72%)
HSVhsv(55, 39%, 89%)
CMYKcmyk(0%, 3.5%, 39.5%, 10.6%)
CIE-LABlab(86.76, -8.89, 41.24)
CIE-LCHlch(86.76, 42.19, 102.16°)
OKLaboklab(88.28% -0.0241 0.1007)
OKLCHoklch(88.28% 0.104 103.5)
XYZxyz(62.1766, 69.5170, 34.1826)
Luminance0.6952 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC8A #8A92E4
analogous
#E4AF8A #E4DC8A #BFE48A
triadic
#E4DC8A #8AE4DC #DC8AE4
tetradic
#E4DC8A #8AE4AF #8A92E4 #E48ABF
square
#E4DC8A #8AE4AF #8A92E4 #E48ABF
split-complementary
#E4DC8A #8ABFE4 #AF8AE4
monochromatic
#C6B82E #D9CD58 #E4DC8A #EFEBBC #F9F8E6

Accessibility & contrast

On white

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

On black

14.90
#E4DC8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC8A
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC8A#FFFFFF#000000##000000
##E4DC8A1.001.4114.9014.90
#FFFFFF1.411.0021.0021.00
#00000014.9021.001.001.00
##00000014.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4dc8a;
/* rgb */ color: rgb(228, 220, 138);
/* oklch */ color: oklch(88.3% 0.103 103.5);
Tailwind
colors: {
  custom: {
    50: '#eee6ad',
    500: '#e4dc8a',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc8a;
$custom-light: #eee6ad;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc8a",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 138
  },
  "hsl": {
    "h": 54.667,
    "s": 62.5,
    "l": 71.765
  },
  "oklch": {
    "l": 0.88276,
    "c": 0.1035,
    "h": 103.5
  },
  "luminance": 0.69515
}

Semantic roles & 50–950 ramp

primary
#E4DC8A
secondary
#565FBD
accent
#2BCA1B
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E4DC8A

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

Preview Lab → · Contrast checker → · Palette generator →

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