#E4DECC#E4DECC

#E4DECC is a very light, muted yellow. Relative luminance 0.731; OKLCH L 90.0% C 0.025 H 91.6°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#E4DECC
RGBrgb(228, 222, 204)
HSLhsl(45, 31%, 85%)
HSVhsv(45, 11%, 89%)
CMYKcmyk(0%, 2.6%, 10.5%, 10.6%)
CIE-LABlab(88.49, -1.00, 9.55)
CIE-LCHlch(88.49, 9.61, 95.98°)
OKLaboklab(90.05% -0.0007 0.025)
OKLCHoklch(90.05% 0.025 91.6)
XYZxyz(69.0141, 73.0968, 67.5884)
Luminance0.7310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#E4DECC #CCD2E4
analogous
#E4D2CC #E4DECC #DEE4CC
triadic
#E4DECC #CCE4DE #DECCE4
tetradic
#E4DECC #CCE4D2 #CCD2E4 #E4CCDE
square
#E4DECC #CCE4D2 #CCD2E4 #E4CCDE
split-complementary
#E4DECC #CCDEE4 #D2CCE4
monochromatic
#BAAA7C #CFC4A4 #E4DECC #F4F2EB #F4F2EB

Accessibility & contrast

On white

1.34
#E4DECC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.62
#E4DECC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #E4DECC
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##E4DECC#FFFFFF#000000##000000
##E4DECC1.001.3415.6215.62
#FFFFFF1.341.0021.0021.00
#00000015.6221.001.001.00
##00000015.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2DDCB
Deuteranopia (green-blind)
#E4DFCD
Tritanopia (blue-blind)
#E8DBD9
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #e4decc;
/* rgb */ color: rgb(228, 222, 204);
/* oklch */ color: oklch(90.0% 0.025 91.6);
Tailwind
colors: {
  custom: {
    50: '#ece8db',
    500: '#e4decc',
    950: '#000000',
  },
}
SCSS
$custom: #e4decc;
$custom-light: #ece8db;
$custom-dark: #000000;
JSON
{
  "hex": "#e4decc",
  "rgb": {
    "r": 228,
    "g": 222,
    "b": 204
  },
  "hsl": {
    "h": 45,
    "s": 30.769,
    "l": 84.706
  },
  "oklch": {
    "l": 0.90048,
    "c": 0.02496,
    "h": 91.6
  },
  "luminance": 0.73096
}

Semantic roles & 50–950 ramp

primary
#E4DECC
secondary
#98A1BC
accent
#57A93C
background
#FEFEFE
surface
#FDFCFB
border
#D5D5D4
text
#161615
muted
#848484

Preview Lab

Preview with #E4DECC

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

Preview Lab → · Contrast checker → · Palette generator →

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