#ECECB0#ECECB0

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

Color values

HEX#ECECB0
RGBrgb(236, 236, 176)
HSLhsl(60, 61%, 81%)
HSVhsv(60, 25%, 93%)
CMYKcmyk(0%, 0%, 25.4%, 7.5%)
CIE-LABlab(92.11, -9.32, 29.20)
CIE-LCHlch(92.11, 30.65, 107.70°)
OKLaboklab(92.87% -0.0236 0.0736)
OKLCHoklch(92.87% 0.077 107.8)
XYZxyz(72.4240, 80.9594, 52.8773)
Luminance0.8096 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECECB0 #B0B0EC
analogous
#ECCEB0 #ECECB0 #CEECB0
triadic
#ECECB0 #B0ECEC #ECB0EC
tetradic
#ECECB0 #B0ECCE #B0B0EC #ECB0CE
square
#ECECB0 #B0ECCE #B0B0EC #ECB0CE
split-complementary
#ECECB0 #B0CEEC #CEB0EC
monochromatic
#D4D44D #E0E07F #ECECB0 #F8F8E1 #F9F9E6

Accessibility & contrast

On white

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

On black

17.19
#ECECB0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECECB0
17.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECECB0#FFFFFF#000000##000000
##ECECB01.001.2217.1917.19
#FFFFFF1.221.0021.0021.00
#00000017.1921.001.001.00
##00000017.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6E7AC
Deuteranopia (green-blind)
#F7EAB2
Tritanopia (blue-blind)
#F5E4DC
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #ececb0;
/* rgb */ color: rgb(236, 236, 176);
/* oklch */ color: oklch(92.9% 0.077 107.8);
Tailwind
colors: {
  custom: {
    50: '#f2f2c8',
    500: '#ececb0',
    950: '#000000',
  },
}
SCSS
$custom: #ececb0;
$custom-light: #f2f2c8;
$custom-dark: #000000;
JSON
{
  "hex": "#ececb0",
  "rgb": {
    "r": 236,
    "g": 236,
    "b": 176
  },
  "hsl": {
    "h": 60,
    "s": 61.224,
    "l": 80.784
  },
  "oklch": {
    "l": 0.92871,
    "c": 0.07727,
    "h": 107.8
  },
  "luminance": 0.80958
}

Semantic roles & 50–950 ramp

primary
#ECECB0
secondary
#7777C9
accent
#1DC91D
background
#FFFFFD
surface
#FEFEF9
border
#D6D6D2
text
#171613
muted
#858582

Preview Lab

Preview with #ECECB0

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

Preview Lab → · Contrast checker → · Palette generator →

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