#ECFFB2#ECFFB2

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

Color values

HEX#ECFFB2
RGBrgb(236, 255, 178)
HSLhsl(75, 100%, 85%)
HSVhsv(75, 30%, 100%)
CMYKcmyk(7.5%, 0%, 30.2%, 0%)
CIE-LABlab(97.05, -18.40, 34.82)
CIE-LCHlch(97.05, 39.38, 117.85°)
OKLaboklab(96.81% -0.0494 0.087)
OKLCHoklch(96.81% 0.1 119.6)
XYZxyz(78.3875, 92.5674, 55.8486)
Luminance0.9257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFFB2 #C5B2FF
analogous
#FFEBB2 #ECFFB2 #C6FFB2
triadic
#ECFFB2 #B2ECFF #FFB2EC
tetradic
#ECFFB2 #B2FFEB #C5B2FF #FFB2C6
square
#ECFFB2 #B2FFEB #C5B2FF #FFB2C6
split-complementary
#ECFFB2 #B2C6FF #EBB2FF
monochromatic
#CEFF38 #DDFF75 #ECFFB2 #F7FFE0 #F7FFE0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECFFB2#FFFFFF#000000##000000
##ECFFB21.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)
#FFF7AD
Deuteranopia (green-blind)
#FFF7B5
Tritanopia (blue-blind)
#F3F7EB
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #ecffb2;
/* rgb */ color: rgb(236, 255, 178);
/* oklch */ color: oklch(96.8% 0.100 119.6);
Tailwind
colors: {
  custom: {
    50: '#f3ffc9',
    500: '#ecffb2',
    950: '#000000',
  },
}
SCSS
$custom: #ecffb2;
$custom-light: #f3ffc9;
$custom-dark: #000000;
JSON
{
  "hex": "#ecffb2",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 178
  },
  "hsl": {
    "h": 74.805,
    "s": 100,
    "l": 84.902
  },
  "oklch": {
    "l": 0.96807,
    "c": 0.10006,
    "h": 119.6
  },
  "luminance": 0.92567
}

Semantic roles & 50–950 ramp

primary
#ECFFB2
secondary
#8D70E6
accent
#00E639
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171813
muted
#858682

Preview Lab

Preview with #ECFFB2

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

Preview Lab → · Contrast checker → · Palette generator →

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