#ECFFA2#ECFFA2

#ECFFA2 is a very light, moderate yellow-green. Relative luminance 0.920; OKLCH L 96.5% C 0.118 H 118.1°. Best body text is #000000 at 19.39:1 contrast (WCAG AA passes).

Color values

HEX#ECFFA2
RGBrgb(236, 255, 162)
HSLhsl(72, 100%, 82%)
HSVhsv(72, 36%, 100%)
CMYKcmyk(7.5%, 0%, 36.5%, 0%)
CIE-LABlab(96.80, -20.37, 42.41)
CIE-LCHlch(96.80, 47.05, 115.66°)
OKLaboklab(96.53% -0.0556 0.1043)
OKLCHoklch(96.53% 0.118 118.1)
XYZxyz(76.8737, 91.9619, 47.8761)
Luminance0.9196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFFA2 #B5A2FF
analogous
#FFE4A2 #ECFFA2 #BEFFA2
triadic
#ECFFA2 #A2ECFF #FFA2EC
tetradic
#ECFFA2 #A2FFE4 #B5A2FF #FFA2BE
square
#ECFFA2 #A2FFE4 #B5A2FF #FFA2BE
split-complementary
#ECFFA2 #A2BEFF #E4A2FF
monochromatic
#D3FF28 #DFFF65 #ECFFA2 #F9FFDF #F9FFE0

Accessibility & contrast

On white

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

On black

19.39
#ECFFA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFFA2
19.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFFA2#FFFFFF#000000##000000
##ECFFA21.001.0819.3919.39
#FFFFFF1.081.0021.0021.00
#00000019.3921.001.001.00
##00000019.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF69B
Deuteranopia (green-blind)
#FFF6A6
Tritanopia (blue-blind)
#F5F6E8
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #ecffa2;
/* rgb */ color: rgb(236, 255, 162);
/* oklch */ color: oklch(96.5% 0.118 118.1);
Tailwind
colors: {
  custom: {
    50: '#f3ffbe',
    500: '#ecffa2',
    950: '#000000',
  },
}
SCSS
$custom: #ecffa2;
$custom-light: #f3ffbe;
$custom-dark: #000000;
JSON
{
  "hex": "#ecffa2",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 162
  },
  "hsl": {
    "h": 72.258,
    "s": 100,
    "l": 81.765
  },
  "oklch": {
    "l": 0.96529,
    "c": 0.11821,
    "h": 118.1
  },
  "luminance": 0.91962
}

Semantic roles & 50–950 ramp

primary
#ECFFA2
secondary
#7C62E3
accent
#00E62F
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171812
muted
#858682

Preview Lab

Preview with #ECFFA2

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

Preview Lab → · Contrast checker → · Palette generator →

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