#ECF1BC#ECF1BC

#ECF1BC is a very light, moderate yellow. Relative luminance 0.844; OKLCH L 94.1% C 0.069 H 112.1°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#ECF1BC
RGBrgb(236, 241, 188)
HSLhsl(66, 65%, 84%)
HSVhsv(66, 22%, 95%)
CMYKcmyk(2.1%, 0%, 22%, 5.5%)
CIE-LABlab(93.61, -10.18, 25.11)
CIE-LCHlch(93.61, 27.10, 112.06°)
OKLaboklab(94.13% -0.0259 0.0638)
OKLCHoklch(94.13% 0.069 112.1)
XYZxyz(75.1240, 84.3750, 59.8956)
Luminance0.8437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF1BC #C1BCF1
analogous
#F1DCBC #ECF1BC #D2F1BC
triadic
#ECF1BC #BCECF1 #F1BCEC
tetradic
#ECF1BC #BCF1DC #C1BCF1 #F1BCD2
square
#ECF1BC #BCF1DC #C1BCF1 #F1BCD2
split-complementary
#ECF1BC #BCD2F1 #DCBCF1
monochromatic
#CFDC57 #DEE689 #ECF1BC #F8FAE6 #F8FAE6

Accessibility & contrast

On white

1.17
#ECF1BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#ECF1BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF1BC
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF1BC#FFFFFF#000000##000000
##ECF1BC1.001.1717.8717.87
#FFFFFF1.171.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#F9ECB9
Deuteranopia (green-blind)
#F9EDBE
Tritanopia (blue-blind)
#F3EBE3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf1bc;
/* rgb */ color: rgb(236, 241, 188);
/* oklch */ color: oklch(94.1% 0.069 112.1);
Tailwind
colors: {
  custom: {
    50: '#f2f5d0',
    500: '#ecf1bc',
    950: '#000000',
  },
}
SCSS
$custom: #ecf1bc;
$custom-light: #f2f5d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf1bc",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 188
  },
  "hsl": {
    "h": 65.66,
    "s": 65.432,
    "l": 84.118
  },
  "oklch": {
    "l": 0.94131,
    "c": 0.0689,
    "h": 112.1
  },
  "luminance": 0.84374
}

Semantic roles & 50–950 ramp

primary
#ECF1BC
secondary
#8881D0
accent
#18CD29
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #ECF1BC

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

Preview Lab → · Contrast checker → · Palette generator →

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