#ECECC2#ECECC2

#ECECC2 is a very light, muted yellow. Relative luminance 0.817; OKLCH L 93.2% C 0.055 H 107.4°. Best body text is #000000 at 17.34:1 contrast (WCAG AA passes).

Color values

HEX#ECECC2
RGBrgb(236, 236, 194)
HSLhsl(60, 53%, 84%)
HSVhsv(60, 18%, 93%)
CMYKcmyk(0%, 0%, 17.8%, 7.5%)
CIE-LABlab(92.45, -6.81, 20.43)
CIE-LCHlch(92.45, 21.53, 108.45°)
OKLaboklab(93.25% -0.0164 0.0524)
OKLCHoklch(93.25% 0.055 107.4)
XYZxyz(74.3245, 81.7196, 62.8865)
Luminance0.8172 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECECC2 #C2C2EC
analogous
#ECD7C2 #ECECC2 #D7ECC2
triadic
#ECECC2 #C2ECEC #ECC2EC
tetradic
#ECECC2 #C2ECD7 #C2C2EC #ECC2D7
square
#ECECC2 #C2ECD7 #C2C2EC #ECC2D7
split-complementary
#ECECC2 #C2D7EC #D7C2EC
monochromatic
#CFCF65 #DDDD93 #ECECC2 #F8F8E8 #F8F8E8

Accessibility & contrast

On white

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

On black

17.34
#ECECC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECECC2
17.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECECC2#FFFFFF#000000##000000
##ECECC21.001.2117.3417.34
#FFFFFF1.211.0021.0021.00
#00000017.3421.001.001.00
##00000017.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F3E8BF
Deuteranopia (green-blind)
#F4EAC3
Tritanopia (blue-blind)
#F3E6E0
Achromatopsia (no color)
#E9E9E9

Design tokens & code

CSS
--color: #ececc2;
/* rgb */ color: rgb(236, 236, 194);
/* oklch */ color: oklch(93.2% 0.055 107.4);
Tailwind
colors: {
  custom: {
    50: '#f2f2d4',
    500: '#ececc2',
    950: '#000000',
  },
}
SCSS
$custom: #ececc2;
$custom-light: #f2f2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#ececc2",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 194
  },
  "hsl": {
    "h": 60,
    "s": 52.5,
    "l": 84.314
  },
  "oklch": {
    "l": 0.93249,
    "c": 0.05488,
    "h": 107.4
  },
  "luminance": 0.81719
}

Semantic roles & 50–950 ramp

primary
#ECECC2
secondary
#8A8AC9
accent
#26C026
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171614
muted
#858583

Preview Lab

Preview with #ECECC2

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

Preview Lab → · Contrast checker → · Palette generator →

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