#ECE2BB#ECE2BB

#ECE2BB is a very light, muted yellow. Relative luminance 0.758; OKLCH L 91.1% C 0.052 H 95.3°. Best body text is #000000 at 16.16:1 contrast (WCAG AA passes).

Color values

HEX#ECE2BB
RGBrgb(236, 226, 187)
HSLhsl(48, 56%, 83%)
HSVhsv(48, 21%, 93%)
CMYKcmyk(0%, 4.2%, 20.8%, 7.5%)
CIE-LABlab(89.77, -2.76, 20.33)
CIE-LCHlch(89.77, 20.51, 97.74°)
OKLaboklab(91.09% -0.0048 0.0521)
OKLCHoklch(91.09% 0.052 95.3)
XYZxyz(70.7579, 75.8147, 57.9103)
Luminance0.7581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE2BB #BBC5EC
analogous
#ECC9BB #ECE2BB #DDECBB
triadic
#ECE2BB #BBECE2 #E2BBEC
tetradic
#ECE2BB #BBECC9 #BBC5EC #ECBBDD
square
#ECE2BB #BBECC9 #BBC5EC #ECBBDD
split-complementary
#ECE2BB #BBDDEC #C9BBEC
monochromatic
#D1B95B #DFCE8B #ECE2BB #F8F5E7 #F8F5E7

Accessibility & contrast

On white

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

On black

16.16
#ECE2BB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE2BB
16.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE2BB#FFFFFF#000000##000000
##ECE2BB1.001.3016.1616.16
#FFFFFF1.301.0021.0021.00
#00000016.1621.001.001.00
##00000016.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ece2bb;
/* rgb */ color: rgb(236, 226, 187);
/* oklch */ color: oklch(91.1% 0.052 95.3);
Tailwind
colors: {
  custom: {
    50: '#f2ebcf',
    500: '#ece2bb',
    950: '#000000',
  },
}
SCSS
$custom: #ece2bb;
$custom-light: #f2ebcf;
$custom-dark: #000000;
JSON
{
  "hex": "#ece2bb",
  "rgb": {
    "r": 236,
    "g": 226,
    "b": 187
  },
  "hsl": {
    "h": 47.755,
    "s": 56.322,
    "l": 82.941
  },
  "oklch": {
    "l": 0.91089,
    "c": 0.05229,
    "h": 95.3
  },
  "luminance": 0.75813
}

Semantic roles & 50–950 ramp

primary
#ECE2BB
secondary
#8291C9
accent
#43C422
background
#FFFEFE
surface
#FEFDFB
border
#D6D5D4
text
#171613
muted
#858483

Preview Lab

Preview with #ECE2BB

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

Preview Lab → · Contrast checker → · Palette generator →

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