#ECFFB1#ECFFB1

#ECFFB1 is a very light, moderate yellow-green. Relative luminance 0.925; OKLCH L 96.8% C 0.101 H 119.5°. Best body text is #000000 at 19.51:1 contrast (WCAG AA passes).

Color values

HEX#ECFFB1
RGBrgb(236, 255, 177)
HSLhsl(75, 100%, 85%)
HSVhsv(75, 31%, 100%)
CMYKcmyk(7.5%, 0%, 30.6%, 0%)
CIE-LABlab(97.04, -18.53, 35.30)
CIE-LCHlch(97.04, 39.87, 117.70°)
OKLaboklab(96.79% -0.0498 0.0881)
OKLCHoklch(96.79% 0.101 119.5)
XYZxyz(78.2875, 92.5274, 55.3217)
Luminance0.9253 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFFB1 #C4B1FF
analogous
#FFEBB1 #ECFFB1 #C5FFB1
triadic
#ECFFB1 #B1ECFF #FFB1EC
tetradic
#ECFFB1 #B1FFEB #C4B1FF #FFB1C5
square
#ECFFB1 #B1FFEB #C4B1FF #FFB1C5
split-complementary
#ECFFB1 #B1C5FF #EBB1FF
monochromatic
#CEFF37 #DDFF74 #ECFFB1 #F8FFE0 #F8FFE0

Accessibility & contrast

On white

1.08
#ECFFB1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.51
#ECFFB1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFFB1
19.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFFB1#FFFFFF#000000##000000
##ECFFB11.001.0819.5119.51
#FFFFFF1.081.0021.0021.00
#00000019.5121.001.001.00
##00000019.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF7AC
Deuteranopia (green-blind)
#FFF7B4
Tritanopia (blue-blind)
#F3F7EB
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #ecffb1;
/* rgb */ color: rgb(236, 255, 177);
/* oklch */ color: oklch(96.8% 0.101 119.5);
Tailwind
colors: {
  custom: {
    50: '#f3ffc9',
    500: '#ecffb1',
    950: '#000000',
  },
}
SCSS
$custom: #ecffb1;
$custom-light: #f3ffc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecffb1",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 177
  },
  "hsl": {
    "h": 74.615,
    "s": 100,
    "l": 84.706
  },
  "oklch": {
    "l": 0.96788,
    "c": 0.10122,
    "h": 119.5
  },
  "luminance": 0.92527
}

Semantic roles & 50–950 ramp

primary
#ECFFB1
secondary
#8C6FE6
accent
#00E638
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171813
muted
#858682

Preview Lab

Preview with #ECFFB1

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

Preview Lab → · Contrast checker → · Palette generator →

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