#ECE8BC#ECE8BC

#ECE8BC is a very light, muted yellow. Relative luminance 0.792; OKLCH L 92.3% C 0.058 H 103.2°. Best body text is #000000 at 16.84:1 contrast (WCAG AA passes).

Color values

HEX#ECE8BC
RGBrgb(236, 232, 188)
HSLhsl(55, 56%, 83%)
HSVhsv(55, 20%, 93%)
CMYKcmyk(0%, 1.7%, 20.3%, 7.5%)
CIE-LABlab(91.31, -5.66, 21.95)
CIE-LCHlch(91.31, 22.66, 104.47°)
OKLaboklab(92.31% -0.0131 0.0561)
OKLCHoklch(92.31% 0.058 103.2)
XYZxyz(72.5254, 79.1779, 59.0295)
Luminance0.7918 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE8BC #BCC0EC
analogous
#ECD0BC #ECE8BC #D8ECBC
triadic
#ECE8BC #BCECE8 #E8BCEC
tetradic
#ECE8BC #BCECD0 #BCC0EC #ECBCD8
square
#ECE8BC #BCECD0 #BCC0EC #ECBCD8
split-complementary
#ECE8BC #BCD8EC #D0BCEC
monochromatic
#D1C75D #DED88C #ECE8BC #F8F7E7 #F8F7E7

Accessibility & contrast

On white

1.25
#ECE8BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.84
#ECE8BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE8BC
16.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE8BC#FFFFFF#000000##000000
##ECE8BC1.001.2516.8416.84
#FFFFFF1.251.0021.0021.00
#00000016.8421.001.001.00
##00000016.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0E5B9
Deuteranopia (green-blind)
#F2E7BE
Tritanopia (blue-blind)
#F4E2DC
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #ece8bc;
/* rgb */ color: rgb(236, 232, 188);
/* oklch */ color: oklch(92.3% 0.058 103.2);
Tailwind
colors: {
  custom: {
    50: '#f2efd0',
    500: '#ece8bc',
    950: '#000000',
  },
}
SCSS
$custom: #ece8bc;
$custom-light: #f2efd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ece8bc",
  "rgb": {
    "r": 236,
    "g": 232,
    "b": 188
  },
  "hsl": {
    "h": 55,
    "s": 55.814,
    "l": 83.137
  },
  "oklch": {
    "l": 0.92312,
    "c": 0.05758,
    "h": 103.2
  },
  "luminance": 0.79177
}

Semantic roles & 50–950 ramp

primary
#ECE8BC
secondary
#8389C9
accent
#30C322
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #ECE8BC

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

Preview Lab → · Contrast checker → · Palette generator →

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