#ECE8DC#ECE8DC

#ECE8DC is a very light, near-neutral yellow. Relative luminance 0.807; OKLCH L 93.1% C 0.017 H 91.6°. Best body text is #000000 at 17.14:1 contrast (WCAG AA passes).

Color values

HEX#ECE8DC
RGBrgb(236, 232, 220)
HSLhsl(45, 30%, 89%)
HSVhsv(45, 7%, 93%)
CMYKcmyk(0%, 1.7%, 6.8%, 7.5%)
CIE-LABlab(92.00, -0.71, 6.31)
CIE-LCHlch(92.00, 6.35, 96.43°)
OKLaboklab(93.08% -0.0004 0.0166)
OKLCHoklch(93.08% 0.017 91.6)
XYZxyz(76.3653, 80.7139, 79.2526)
Luminance0.8071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE8DC #DCE0EC
analogous
#ECE0DC #ECE8DC #E8ECDC
triadic
#ECE8DC #DCECE8 #E8DCEC
tetradic
#ECE8DC #DCECE0 #DCE0EC #ECDCE8
square
#ECE8DC #DCECE0 #DCE0EC #ECDCE8
split-complementary
#ECE8DC #DCE8EC #E0DCEC
monochromatic
#C1B48D #D6CEB4 #ECE8DC #F4F2EB #F4F2EB

Accessibility & contrast

On white

1.23
#ECE8DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.14
#ECE8DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE8DC
17.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE8DC#FFFFFF#000000##000000
##ECE8DC1.001.2317.1417.14
#FFFFFF1.231.0021.0021.00
#00000017.1421.001.001.00
##00000017.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EBE7DB
Deuteranopia (green-blind)
#ECE9DC
Tritanopia (blue-blind)
#EFE6E4
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ece8dc;
/* rgb */ color: rgb(236, 232, 220);
/* oklch */ color: oklch(93.1% 0.017 91.6);
Tailwind
colors: {
  custom: {
    50: '#f2efe6',
    500: '#ece8dc',
    950: '#000000',
  },
}
SCSS
$custom: #ece8dc;
$custom-light: #f2efe6;
$custom-dark: #000000;
JSON
{
  "hex": "#ece8dc",
  "rgb": {
    "r": 236,
    "g": 232,
    "b": 220
  },
  "hsl": {
    "h": 45,
    "s": 29.63,
    "l": 89.412
  },
  "oklch": {
    "l": 0.93083,
    "c": 0.01658,
    "h": 91.6
  },
  "luminance": 0.80713
}

Semantic roles & 50–950 ramp

primary
#ECE8DC
secondary
#A7AFC5
accent
#58A83D
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#161616
muted
#858584

Preview Lab

Preview with #ECE8DC

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

Preview Lab → · Contrast checker → · Palette generator →

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