#ECECD8#ECECD8

#ECECD8 is a very light, muted yellow. Relative luminance 0.828; OKLCH L 93.8% C 0.026 H 106.9°. Best body text is #000000 at 17.56:1 contrast (WCAG AA passes).

Color values

HEX#ECECD8
RGBrgb(236, 236, 216)
HSLhsl(60, 34%, 89%)
HSVhsv(60, 8%, 93%)
CMYKcmyk(0%, 0%, 8.5%, 7.5%)
CIE-LABlab(92.92, -3.41, 9.70)
CIE-LCHlch(92.92, 10.28, 109.36°)
OKLaboklab(93.77% -0.0077 0.0253)
OKLCHoklch(93.77% 0.026 106.9)
XYZxyz(76.9806, 82.7820, 76.8755)
Luminance0.8278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECECD8 #D8D8EC
analogous
#ECE2D8 #ECECD8 #E2ECD8
triadic
#ECECD8 #D8ECEC #ECD8EC
tetradic
#ECECD8 #D8ECE2 #D8D8EC #ECD8E2
square
#ECECD8 #D8ECE2 #D8D8EC #ECD8E2
split-complementary
#ECECD8 #D8E2EC #E2D8EC
monochromatic
#C4C486 #D8D8AF #ECECD8 #F5F5EA #F5F5EA

Accessibility & contrast

On white

1.20
#ECECD8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.56
#ECECD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECECD8
17.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECECD8#FFFFFF#000000##000000
##ECECD81.001.2017.5617.56
#FFFFFF1.201.0021.0021.00
#00000017.5621.001.001.00
##00000017.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0EAD7
Deuteranopia (green-blind)
#F0EBD9
Tritanopia (blue-blind)
#EFE9E6
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #ececd8;
/* rgb */ color: rgb(236, 236, 216);
/* oklch */ color: oklch(93.8% 0.026 106.9);
Tailwind
colors: {
  custom: {
    50: '#f2f2e4',
    500: '#ececd8',
    950: '#000000',
  },
}
SCSS
$custom: #ececd8;
$custom-light: #f2f2e4;
$custom-dark: #000000;
JSON
{
  "hex": "#ececd8",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 216
  },
  "hsl": {
    "h": 60,
    "s": 34.483,
    "l": 88.627
  },
  "oklch": {
    "l": 0.93773,
    "c": 0.02646,
    "h": 106.9
  },
  "luminance": 0.82782
}

Semantic roles & 50–950 ramp

primary
#ECECD8
secondary
#A2A2C6
accent
#38AD38
background
#FFFFFE
surface
#FEFEFC
border
#D6D6D5
text
#161615
muted
#858584

Preview Lab

Preview with #ECECD8

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

Preview Lab → · Contrast checker → · Palette generator →

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