#ECECB2#ECECB2

#ECECB2 is a very light, moderate yellow. Relative luminance 0.810; OKLCH L 92.9% C 0.075 H 107.8°. Best body text is #000000 at 17.21:1 contrast (WCAG AA passes).

Color values

HEX#ECECB2
RGBrgb(236, 236, 178)
HSLhsl(60, 60%, 81%)
HSVhsv(60, 25%, 93%)
CMYKcmyk(0%, 0%, 24.6%, 7.5%)
CIE-LABlab(92.15, -9.05, 28.23)
CIE-LCHlch(92.15, 29.64, 107.79°)
OKLaboklab(92.91% -0.0228 0.0713)
OKLCHoklch(92.91% 0.075 107.8)
XYZxyz(72.6233, 81.0391, 53.9272)
Luminance0.8104 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECECB2 #B2B2EC
analogous
#ECCFB2 #ECECB2 #CFECB2
triadic
#ECECB2 #B2ECEC #ECB2EC
tetradic
#ECECB2 #B2ECCF #B2B2EC #ECB2CF
square
#ECECB2 #B2ECCF #B2B2EC #ECB2CF
split-complementary
#ECECB2 #B2CFEC #CFB2EC
monochromatic
#D4D450 #E0E081 #ECECB2 #F8F8E3 #F9F9E6

Accessibility & contrast

On white

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

On black

17.21
#ECECB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECECB2
17.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECECB2#FFFFFF#000000##000000
##ECECB21.001.2217.2117.21
#FFFFFF1.221.0021.0021.00
#00000017.2121.001.001.00
##00000017.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E7AE
Deuteranopia (green-blind)
#F7EAB4
Tritanopia (blue-blind)
#F5E5DC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ececb2;
/* rgb */ color: rgb(236, 236, 178);
/* oklch */ color: oklch(92.9% 0.075 107.8);
Tailwind
colors: {
  custom: {
    50: '#f2f2c9',
    500: '#ececb2',
    950: '#000000',
  },
}
SCSS
$custom: #ececb2;
$custom-light: #f2f2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ececb2",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 178
  },
  "hsl": {
    "h": 60,
    "s": 60.417,
    "l": 81.176
  },
  "oklch": {
    "l": 0.92911,
    "c": 0.07483,
    "h": 107.8
  },
  "luminance": 0.81038
}

Semantic roles & 50–950 ramp

primary
#ECECB2
secondary
#7979C9
accent
#1DC81D
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #ECECB2

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

Preview Lab → · Contrast checker → · Palette generator →

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