#ECF2BC#ECF2BC

#ECF2BC is a very light, moderate yellow. Relative luminance 0.850; OKLCH L 94.3% C 0.070 H 112.9°. Best body text is #000000 at 17.99:1 contrast (WCAG AA passes).

Color values

HEX#ECF2BC
RGBrgb(236, 242, 188)
HSLhsl(67, 68%, 84%)
HSVhsv(67, 22%, 95%)
CMYKcmyk(2.5%, 0%, 22.3%, 5.1%)
CIE-LABlab(93.87, -10.68, 25.47)
CIE-LCHlch(93.87, 27.61, 112.74°)
OKLaboklab(94.34% -0.0273 0.0647)
OKLCHoklch(94.34% 0.07 112.9)
XYZxyz(75.4208, 84.9686, 59.9946)
Luminance0.8497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF2BC #C2BCF2
analogous
#F2DDBC #ECF2BC #D1F2BC
triadic
#ECF2BC #BCECF2 #F2BCEC
tetradic
#ECF2BC #BCF2DD #C2BCF2 #F2BCD1
square
#ECF2BC #BCF2DD #C2BCF2 #F2BCD1
split-complementary
#ECF2BC #BCD1F2 #DDBCF2
monochromatic
#CFDE55 #DDE889 #ECF2BC #F8FAE5 #F8FAE5

Accessibility & contrast

On white

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

On black

17.99
#ECF2BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF2BC
17.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF2BC#FFFFFF#000000##000000
##ECF2BC1.001.1717.9917.99
#FFFFFF1.171.0021.0021.00
#00000017.9921.001.001.00
##00000017.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FAEDB9
Deuteranopia (green-blind)
#FAEEBE
Tritanopia (blue-blind)
#F3ECE3
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf2bc;
/* rgb */ color: rgb(236, 242, 188);
/* oklch */ color: oklch(94.3% 0.070 112.9);
Tailwind
colors: {
  custom: {
    50: '#f2f6d0',
    500: '#ecf2bc',
    950: '#000000',
  },
}
SCSS
$custom: #ecf2bc;
$custom-light: #f2f6d0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf2bc",
  "rgb": {
    "r": 236,
    "g": 242,
    "b": 188
  },
  "hsl": {
    "h": 66.667,
    "s": 67.5,
    "l": 84.314
  },
  "oklch": {
    "l": 0.94335,
    "c": 0.07024,
    "h": 112.9
  },
  "luminance": 0.84968
}

Semantic roles & 50–950 ramp

primary
#ECF2BC
secondary
#8A81D2
accent
#16CF2B
background
#FFFFFE
surface
#FEFEFB
border
#D6D6D4
text
#171714
muted
#858583

Preview Lab

Preview with #ECF2BC

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

Preview Lab → · Contrast checker → · Palette generator →

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