#ECE2BA#ECE2BA

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

Color values

HEX#ECE2BA
RGBrgb(236, 226, 186)
HSLhsl(48, 57%, 83%)
HSVhsv(48, 21%, 93%)
CMYKcmyk(0%, 4.2%, 21.2%, 7.5%)
CIE-LABlab(89.75, -2.90, 20.82)
CIE-LCHlch(89.75, 21.02, 97.94°)
OKLaboklab(91.07% -0.0052 0.0533)
OKLCHoklch(91.07% 0.054 95.6)
XYZxyz(70.6512, 75.7720, 57.3485)
Luminance0.7577 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECE2BA #BAC4EC
analogous
#ECC9BA #ECE2BA #DDECBA
triadic
#ECE2BA #BAECE2 #E2BAEC
tetradic
#ECE2BA #BAECC9 #BAC4EC #ECBADD
square
#ECE2BA #BAECC9 #BAC4EC #ECBADD
split-complementary
#ECE2BA #BADDEC #C9BAEC
monochromatic
#D2BA5A #DFCE8A #ECE2BA #F8F5E7 #F8F5E7

Accessibility & contrast

On white

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

On black

16.15
#ECE2BA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECE2BA
16.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECE2BA#FFFFFF#000000##000000
##ECE2BA1.001.3016.1516.15
#FFFFFF1.301.0021.0021.00
#00000016.1521.001.001.00
##00000016.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ece2ba;
/* rgb */ color: rgb(236, 226, 186);
/* oklch */ color: oklch(91.1% 0.054 95.6);
Tailwind
colors: {
  custom: {
    50: '#f2ebce',
    500: '#ece2ba',
    950: '#000000',
  },
}
SCSS
$custom: #ece2ba;
$custom-light: #f2ebce;
$custom-dark: #000000;
JSON
{
  "hex": "#ece2ba",
  "rgb": {
    "r": 236,
    "g": 226,
    "b": 186
  },
  "hsl": {
    "h": 48,
    "s": 56.818,
    "l": 82.745
  },
  "oklch": {
    "l": 0.91067,
    "c": 0.05354,
    "h": 95.6
  },
  "luminance": 0.75771
}

Semantic roles & 50–950 ramp

primary
#ECE2BA
secondary
#8190C9
accent
#42C421
background
#FFFEFE
surface
#FEFDFB
border
#D6D5D4
text
#171613
muted
#858483

Preview Lab

Preview with #ECE2BA

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

Preview Lab → · Contrast checker → · Palette generator →

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