#ECE8CD#ECE8CD

#ECE8CD is a very light, muted yellow. Relative luminance 0.800; OKLCH L 92.7% C 0.036 H 100.2°. Best body text is #000000 at 16.99:1 contrast (WCAG AA passes).

Color values

HEX#ECE8CD
RGBrgb(236, 232, 205)
HSLhsl(52, 45%, 86%)
HSVhsv(52, 13%, 93%)
CMYKcmyk(0%, 1.7%, 13.1%, 7.5%)
CIE-LABlab(91.66, -3.13, 13.63)
CIE-LCHlch(91.66, 13.98, 102.94°)
OKLaboklab(92.7% -0.0063 0.0354)
OKLCHoklch(92.7% 0.036 100.2)
XYZxyz(74.4671, 79.9546, 69.2556)
Luminance0.7995 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE8CD #CDD1EC
analogous
#ECD9CD #ECE8CD #E1ECCD
triadic
#ECE8CD #CDECE8 #E8CDEC
tetradic
#ECE8CD #CDECD9 #CDD1EC #ECCDE1
square
#ECE8CD #CDECD9 #CDD1EC #ECCDE1
split-complementary
#ECE8CD #CDE1EC #D9CDEC
monochromatic
#CABF74 #DBD4A1 #ECE8CD #F7F5E9 #F7F5E9

Accessibility & contrast

On white

1.24
#ECE8CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.99
#ECE8CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE8CD
16.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE8CD#FFFFFF#000000##000000
##ECE8CD1.001.2416.9916.99
#FFFFFF1.241.0021.0021.00
#00000016.9921.001.001.00
##00000016.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#EEE6CB
Deuteranopia (green-blind)
#EFE8CE
Tritanopia (blue-blind)
#F1E4E0
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #ece8cd;
/* rgb */ color: rgb(236, 232, 205);
/* oklch */ color: oklch(92.7% 0.036 100.2);
Tailwind
colors: {
  custom: {
    50: '#f2efdc',
    500: '#ece8cd',
    950: '#000000',
  },
}
SCSS
$custom: #ece8cd;
$custom-light: #f2efdc;
$custom-dark: #000000;
JSON
{
  "hex": "#ece8cd",
  "rgb": {
    "r": 236,
    "g": 232,
    "b": 205
  },
  "hsl": {
    "h": 52.258,
    "s": 44.928,
    "l": 86.471
  },
  "oklch": {
    "l": 0.92704,
    "c": 0.03591,
    "h": 100.2
  },
  "luminance": 0.79954
}

Semantic roles & 50–950 ramp

primary
#ECE8CD
secondary
#959CC8
accent
#3FB82D
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171615
muted
#858584

Preview Lab

Preview with #ECE8CD

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

Preview Lab → · Contrast checker → · Palette generator →

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