#E4DC8D#E4DC8D

#E4DC8D is a very light, moderate yellow. Relative luminance 0.696; OKLCH L 88.3% C 0.100 H 103.2°. Best body text is #000000 at 14.92:1 contrast (WCAG AA passes).

Color values

HEX#E4DC8D
RGBrgb(228, 220, 141)
HSLhsl(54, 62%, 72%)
HSVhsv(54, 38%, 89%)
CMYKcmyk(0%, 3.5%, 38.2%, 10.6%)
CIE-LABlab(86.80, -8.56, 39.80)
CIE-LCHlch(86.80, 40.71, 102.14°)
OKLaboklab(88.32% -0.023 0.0975)
OKLCHoklch(88.32% 0.1 103.2)
XYZxyz(62.3968, 69.6050, 35.3423)
Luminance0.6960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DC8D #8D95E4
analogous
#E4B18D #E4DC8D #C0E48D
triadic
#E4DC8D #8DE4DC #DC8DE4
tetradic
#E4DC8D #8DE4B1 #8D95E4 #E48DC0
square
#E4DC8D #8DE4B1 #8D95E4 #E48DC0
split-complementary
#E4DC8D #8DC0E4 #B18DE4
monochromatic
#C7B92F #D8CD5C #E4DC8D #F0EBBE #F9F7E6

Accessibility & contrast

On white

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

On black

14.92
#E4DC8D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DC8D
14.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DC8D#FFFFFF#000000##000000
##E4DC8D1.001.4114.9214.92
#FFFFFF1.411.0021.0021.00
#00000014.9221.001.001.00
##00000014.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #e4dc8d;
/* rgb */ color: rgb(228, 220, 141);
/* oklch */ color: oklch(88.3% 0.100 103.2);
Tailwind
colors: {
  custom: {
    50: '#eee6af',
    500: '#e4dc8d',
    950: '#000000',
  },
}
SCSS
$custom: #e4dc8d;
$custom-light: #eee6af;
$custom-dark: #000000;
JSON
{
  "hex": "#e4dc8d",
  "rgb": {
    "r": 228,
    "g": 220,
    "b": 141
  },
  "hsl": {
    "h": 54.483,
    "s": 61.702,
    "l": 72.353
  },
  "oklch": {
    "l": 0.88324,
    "c": 0.10015,
    "h": 103.2
  },
  "luminance": 0.69603
}

Semantic roles & 50–950 ramp

primary
#E4DC8D
secondary
#5862BD
accent
#2CC91C
background
#FFFEFD
surface
#FEFCF7
border
#D6D5D0
text
#161510
muted
#858481

Preview Lab

Preview with #E4DC8D

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

Preview Lab → · Contrast checker → · Palette generator →

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