#ECEBC5#ECEBC5

#ECEBC5 is a very light, muted yellow. Relative luminance 0.813; OKLCH L 93.1% C 0.050 H 106.1°. Best body text is #000000 at 17.26:1 contrast (WCAG AA passes).

Color values

HEX#ECEBC5
RGBrgb(236, 235, 197)
HSLhsl(58, 51%, 85%)
HSVhsv(58, 17%, 93%)
CMYKcmyk(0%, 0.4%, 16.5%, 7.5%)
CIE-LABlab(92.26, -5.87, 18.61)
CIE-LCHlch(92.26, 19.51, 107.50°)
OKLaboklab(93.12% -0.0138 0.0478)
OKLCHoklch(93.12% 0.05 106.1)
XYZxyz(74.3777, 81.2815, 64.5832)
Luminance0.8128 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECEBC5 #C5C6EC
analogous
#ECD8C5 #ECEBC5 #D9ECC5
triadic
#ECEBC5 #C5ECEB #EBC5EC
tetradic
#ECEBC5 #C5ECD8 #C5C6EC #ECC5D9
square
#ECEBC5 #C5ECD8 #C5C6EC #ECC5D9
split-complementary
#ECEBC5 #C5D9EC #D8C5EC
monochromatic
#CECB69 #DDDB97 #ECEBC5 #F7F7E8 #F7F7E8

Accessibility & contrast

On white

1.22
#ECEBC5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.26
#ECEBC5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECEBC5
17.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECEBC5#FFFFFF#000000##000000
##ECEBC51.001.2217.2617.26
#FFFFFF1.221.0021.0021.00
#00000017.2621.001.001.00
##00000017.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F2E8C3
Deuteranopia (green-blind)
#F3EAC6
Tritanopia (blue-blind)
#F2E6E0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ecebc5;
/* rgb */ color: rgb(236, 235, 197);
/* oklch */ color: oklch(93.1% 0.050 106.1);
Tailwind
colors: {
  custom: {
    50: '#f2f1d6',
    500: '#ecebc5',
    950: '#000000',
  },
}
SCSS
$custom: #ecebc5;
$custom-light: #f2f1d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ecebc5",
  "rgb": {
    "r": 236,
    "g": 235,
    "b": 197
  },
  "hsl": {
    "h": 58.462,
    "s": 50.649,
    "l": 84.902
  },
  "oklch": {
    "l": 0.93116,
    "c": 0.0498,
    "h": 106.1
  },
  "luminance": 0.81281
}

Semantic roles & 50–950 ramp

primary
#ECEBC5
secondary
#8D8EC9
accent
#2BBE27
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #ECEBC5

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

Preview Lab → · Contrast checker → · Palette generator →

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