#ECFEA1#ECFEA1

#ECFEA1 is a very light, moderate yellow-green. Relative luminance 0.913; OKLCH L 96.3% C 0.118 H 117.6°. Best body text is #000000 at 19.26:1 contrast (WCAG AA passes).

Color values

HEX#ECFEA1
RGBrgb(236, 254, 161)
HSLhsl(72, 98%, 81%)
HSVhsv(72, 37%, 100%)
CMYKcmyk(7.1%, 0%, 36.6%, 0.4%)
CIE-LABlab(96.53, -20.01, 42.54)
CIE-LCHlch(96.53, 47.01, 115.19°)
OKLaboklab(96.3% -0.0547 0.1046)
OKLCHoklch(96.3% 0.118 117.6)
XYZxyz(76.4670, 91.2902, 47.3037)
Luminance0.9129 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFEA1 #B3A1FE
analogous
#FEE2A1 #ECFEA1 #BEFEA1
triadic
#ECFEA1 #A1ECFE #FEA1EC
tetradic
#ECFEA1 #A1FEE2 #B3A1FE #FEA1BE
square
#ECFEA1 #A1FEE2 #B3A1FE #FEA1BE
split-complementary
#ECFEA1 #A1BEFE #E2A1FE
monochromatic
#D4FD28 #E0FD64 #ECFEA1 #F8FFDE #F9FFE1

Accessibility & contrast

On white

1.09
#ECFEA1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.26
#ECFEA1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFEA1
19.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFEA1#FFFFFF#000000##000000
##ECFEA11.001.0919.2619.26
#FFFFFF1.091.0021.0021.00
#00000019.2621.001.001.00
##00000019.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF59A
Deuteranopia (green-blind)
#FFF6A5
Tritanopia (blue-blind)
#F5F5E7
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #ecfea1;
/* rgb */ color: rgb(236, 254, 161);
/* oklch */ color: oklch(96.3% 0.118 117.6);
Tailwind
colors: {
  custom: {
    50: '#f3febe',
    500: '#ecfea1',
    950: '#000000',
  },
}
SCSS
$custom: #ecfea1;
$custom-light: #f3febe;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfea1",
  "rgb": {
    "r": 236,
    "g": 254,
    "b": 161
  },
  "hsl": {
    "h": 71.613,
    "s": 97.895,
    "l": 81.373
  },
  "oklch": {
    "l": 0.96304,
    "c": 0.11799,
    "h": 117.6
  },
  "luminance": 0.9129
}

Semantic roles & 50–950 ramp

primary
#ECFEA1
secondary
#7A62E2
accent
#00E62C
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171712
muted
#858582

Preview Lab

Preview with #ECFEA1

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

Preview Lab → · Contrast checker → · Palette generator →

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