#ECE4BC#ECE4BC

#ECE4BC is a very light, muted yellow. Relative luminance 0.770; OKLCH L 91.5% C 0.053 H 97.9°. Best body text is #000000 at 16.39:1 contrast (WCAG AA passes).

Color values

HEX#ECE4BC
RGBrgb(236, 228, 188)
HSLhsl(50, 56%, 83%)
HSVhsv(50, 20%, 93%)
CMYKcmyk(0%, 3.4%, 20.3%, 7.5%)
CIE-LABlab(90.30, -3.64, 20.54)
CIE-LCHlch(90.30, 20.86, 100.04°)
OKLaboklab(91.51% -0.0073 0.0526)
OKLCHoklch(91.51% 0.053 97.9)
XYZxyz(71.4123, 76.9517, 58.6584)
Luminance0.7695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE4BC #BCC4EC
analogous
#ECCCBC #ECE4BC #DCECBC
triadic
#ECE4BC #BCECE4 #E4BCEC
tetradic
#ECE4BC #BCECCC #BCC4EC #ECBCDC
square
#ECE4BC #BCECCC #BCC4EC #ECBCDC
split-complementary
#ECE4BC #BCDCEC #CCBCEC
monochromatic
#D1BE5D #DED18C #ECE4BC #F8F5E7 #F8F5E7

Accessibility & contrast

On white

1.28
#ECE4BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.39
#ECE4BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE4BC
16.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE4BC#FFFFFF#000000##000000
##ECE4BC1.001.2816.3916.39
#FFFFFF1.281.0021.0021.00
#00000016.3921.001.001.00
##00000016.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#ECE1BA
Deuteranopia (green-blind)
#EFE5BD
Tritanopia (blue-blind)
#F4DED9
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #ece4bc;
/* rgb */ color: rgb(236, 228, 188);
/* oklch */ color: oklch(91.5% 0.053 97.9);
Tailwind
colors: {
  custom: {
    50: '#f2ecd0',
    500: '#ece4bc',
    950: '#000000',
  },
}
SCSS
$custom: #ece4bc;
$custom-light: #f2ecd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ece4bc",
  "rgb": {
    "r": 236,
    "g": 228,
    "b": 188
  },
  "hsl": {
    "h": 50,
    "s": 55.814,
    "l": 83.137
  },
  "oklch": {
    "l": 0.91511,
    "c": 0.05311,
    "h": 97.9
  },
  "luminance": 0.76951
}

Semantic roles & 50–950 ramp

primary
#ECE4BC
secondary
#838FC9
accent
#3DC322
background
#FFFEFE
surface
#FEFDFB
border
#D6D5D4
text
#171614
muted
#858483

Preview Lab

Preview with #ECE4BC

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

Preview Lab → · Contrast checker → · Palette generator →

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