#ECE2BC#ECE2BC

#ECE2BC is a very light, muted yellow. Relative luminance 0.759; OKLCH L 91.1% C 0.051 H 95.0°. Best body text is #000000 at 16.17:1 contrast (WCAG AA passes).

Color values

HEX#ECE2BC
RGBrgb(236, 226, 188)
HSLhsl(48, 56%, 83%)
HSVhsv(48, 20%, 93%)
CMYKcmyk(0%, 4.2%, 20.3%, 7.5%)
CIE-LABlab(89.79, -2.62, 19.83)
CIE-LCHlch(89.79, 20.01, 97.52°)
OKLaboklab(91.11% -0.0044 0.0509)
OKLCHoklch(91.11% 0.051 95)
XYZxyz(70.8653, 75.8576, 58.4761)
Luminance0.7586 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE2BC #BCC6EC
analogous
#ECCABC #ECE2BC #DEECBC
triadic
#ECE2BC #BCECE2 #E2BCEC
tetradic
#ECE2BC #BCECCA #BCC6EC #ECBCDE
square
#ECE2BC #BCECCA #BCC6EC #ECBCDE
split-complementary
#ECE2BC #BCDEEC #CABCEC
monochromatic
#D1B95D #DECD8C #ECE2BC #F8F5E7 #F8F5E7

Accessibility & contrast

On white

1.30
#ECE2BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.17
#ECE2BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE2BC
16.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE2BC#FFFFFF#000000##000000
##ECE2BC1.001.3016.1716.17
#FFFFFF1.301.0021.0021.00
#00000016.1721.001.001.00
##00000016.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAE0BA
Deuteranopia (green-blind)
#EDE3BD
Tritanopia (blue-blind)
#F4DCD7
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #ece2bc;
/* rgb */ color: rgb(236, 226, 188);
/* oklch */ color: oklch(91.1% 0.051 95.0);
Tailwind
colors: {
  custom: {
    50: '#f2ebd0',
    500: '#ece2bc',
    950: '#000000',
  },
}
SCSS
$custom: #ece2bc;
$custom-light: #f2ebd0;
$custom-dark: #000000;
JSON
{
  "hex": "#ece2bc",
  "rgb": {
    "r": 236,
    "g": 226,
    "b": 188
  },
  "hsl": {
    "h": 47.5,
    "s": 55.814,
    "l": 83.137
  },
  "oklch": {
    "l": 0.91111,
    "c": 0.05105,
    "h": 95
  },
  "luminance": 0.75856
}

Semantic roles & 50–950 ramp

primary
#ECE2BC
secondary
#8392C9
accent
#44C322
background
#FFFEFE
surface
#FEFDFB
border
#D6D5D4
text
#171614
muted
#858483

Preview Lab

Preview with #ECE2BC

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

Preview Lab → · Contrast checker → · Palette generator →

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