#ECECC4#ECECC4

#ECECC4 is a very light, muted yellow. Relative luminance 0.818; OKLCH L 93.3% C 0.052 H 107.4°. Best body text is #000000 at 17.36:1 contrast (WCAG AA passes).

Color values

HEX#ECECC4
RGBrgb(236, 236, 196)
HSLhsl(60, 51%, 85%)
HSVhsv(60, 17%, 93%)
CMYKcmyk(0%, 0%, 16.9%, 7.5%)
CIE-LABlab(92.49, -6.52, 19.45)
CIE-LCHlch(92.49, 20.52, 108.53°)
OKLaboklab(93.29% -0.0156 0.05)
OKLCHoklch(93.29% 0.052 107.4)
XYZxyz(74.5506, 81.8100, 64.0774)
Luminance0.8181 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECECC4 #C4C4EC
analogous
#ECD8C4 #ECECC4 #D8ECC4
triadic
#ECECC4 #C4ECEC #ECC4EC
tetradic
#ECECC4 #C4ECD8 #C4C4EC #ECC4D8
square
#ECECC4 #C4ECD8 #C4C4EC #ECC4D8
split-complementary
#ECECC4 #C4D8EC #D8C4EC
monochromatic
#CECE67 #DDDD96 #ECECC4 #F8F8E8 #F8F8E8

Accessibility & contrast

On white

1.21
#ECECC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.36
#ECECC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECECC4
17.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECECC4#FFFFFF#000000##000000
##ECECC41.001.2117.3617.36
#FFFFFF1.211.0021.0021.00
#00000017.3621.001.001.00
##00000017.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E8C2
Deuteranopia (green-blind)
#F4EAC5
Tritanopia (blue-blind)
#F2E7E1
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ececc4;
/* rgb */ color: rgb(236, 236, 196);
/* oklch */ color: oklch(93.3% 0.052 107.4);
Tailwind
colors: {
  custom: {
    50: '#f2f2d6',
    500: '#ececc4',
    950: '#000000',
  },
}
SCSS
$custom: #ececc4;
$custom-light: #f2f2d6;
$custom-dark: #000000;
JSON
{
  "hex": "#ececc4",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 196
  },
  "hsl": {
    "h": 60,
    "s": 51.282,
    "l": 84.706
  },
  "oklch": {
    "l": 0.93294,
    "c": 0.05234,
    "h": 107.4
  },
  "luminance": 0.81809
}

Semantic roles & 50–950 ramp

primary
#ECECC4
secondary
#8C8CC9
accent
#27BF27
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #ECECC4

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

Preview Lab → · Contrast checker → · Palette generator →

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