#ECE7CD#ECE7CD

#ECE7CD is a very light, muted yellow. Relative luminance 0.794; OKLCH L 92.5% C 0.035 H 98.1°. Best body text is #000000 at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#ECE7CD
RGBrgb(236, 231, 205)
HSLhsl(50, 45%, 86%)
HSVhsv(50, 13%, 93%)
CMYKcmyk(0%, 2.1%, 13.1%, 7.5%)
CIE-LABlab(91.41, -2.62, 13.27)
CIE-LCHlch(91.41, 13.53, 101.17°)
OKLaboklab(92.51% -0.0049 0.0345)
OKLCHoklch(92.51% 0.035 98.1)
XYZxyz(74.1864, 79.3932, 69.1620)
Luminance0.7939 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE7CD #CDD2EC
analogous
#ECD8CD #ECE7CD #E2ECCD
triadic
#ECE7CD #CDECE7 #E7CDEC
tetradic
#ECE7CD #CDECD8 #CDD2EC #ECCDE2
square
#ECE7CD #CDECD8 #CDD2EC #ECCDE2
split-complementary
#ECE7CD #CDE2EC #D8CDEC
monochromatic
#CABC74 #DBD2A1 #ECE7CD #F7F4E9 #F7F4E9

Accessibility & contrast

On white

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

On black

16.88
#ECE7CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE7CD
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE7CD#FFFFFF#000000##000000
##ECE7CD1.001.2416.8816.88
#FFFFFF1.241.0021.0021.00
#00000016.8821.001.001.00
##00000016.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDE5CC
Deuteranopia (green-blind)
#EEE7CE
Tritanopia (blue-blind)
#F1E3E0
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ece7cd;
/* rgb */ color: rgb(236, 231, 205);
/* oklch */ color: oklch(92.5% 0.035 98.1);
Tailwind
colors: {
  custom: {
    50: '#f2eedc',
    500: '#ece7cd',
    950: '#000000',
  },
}
SCSS
$custom: #ece7cd;
$custom-light: #f2eedc;
$custom-dark: #000000;
JSON
{
  "hex": "#ece7cd",
  "rgb": {
    "r": 236,
    "g": 231,
    "b": 205
  },
  "hsl": {
    "h": 50.323,
    "s": 44.928,
    "l": 86.471
  },
  "oklch": {
    "l": 0.92505,
    "c": 0.0348,
    "h": 98.1
  },
  "luminance": 0.79392
}

Semantic roles & 50–950 ramp

primary
#ECE7CD
secondary
#959DC8
accent
#44B82D
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#171615
muted
#858584

Preview Lab

Preview with #ECE7CD

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

Preview Lab → · Contrast checker → · Palette generator →

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