#ECFFA6#ECFFA6

#ECFFA6 is a very light, moderate yellow-green. Relative luminance 0.921; OKLCH L 96.6% C 0.114 H 118.4°. Best body text is #000000 at 19.42:1 contrast (WCAG AA passes).

Color values

HEX#ECFFA6
RGBrgb(236, 255, 166)
HSLhsl(73, 100%, 83%)
HSVhsv(73, 35%, 100%)
CMYKcmyk(7.5%, 0%, 34.9%, 0%)
CIE-LABlab(96.86, -19.90, 40.52)
CIE-LCHlch(96.86, 45.14, 116.16°)
OKLaboklab(96.6% -0.0541 0.1001)
OKLCHoklch(96.6% 0.114 118.4)
XYZxyz(77.2350, 92.1064, 49.7785)
Luminance0.9211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFFA6 #B9A6FF
analogous
#FFE5A6 #ECFFA6 #BFFFA6
triadic
#ECFFA6 #A6ECFF #FFA6EC
tetradic
#ECFFA6 #A6FFE5 #B9A6FF #FFA6BF
square
#ECFFA6 #A6FFE5 #B9A6FF #FFA6BF
split-complementary
#ECFFA6 #A6BFFF #E5A6FF
monochromatic
#D2FF2C #DFFF69 #ECFFA6 #F8FFE0 #F8FFE0

Accessibility & contrast

On white

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

On black

19.42
#ECFFA6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFFA6
19.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFFA6#FFFFFF#000000##000000
##ECFFA61.001.0819.4219.42
#FFFFFF1.081.0021.0021.00
#00000019.4221.001.001.00
##00000019.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF6A0
Deuteranopia (green-blind)
#FFF6AA
Tritanopia (blue-blind)
#F4F6E9
Achromatopsia (no color)
#F6F6F6

Design tokens & code

CSS
--color: #ecffa6;
/* rgb */ color: rgb(236, 255, 166);
/* oklch */ color: oklch(96.6% 0.114 118.4);
Tailwind
colors: {
  custom: {
    50: '#f3ffc1',
    500: '#ecffa6',
    950: '#000000',
  },
}
SCSS
$custom: #ecffa6;
$custom-light: #f3ffc1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecffa6",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 166
  },
  "hsl": {
    "h": 72.809,
    "s": 100,
    "l": 82.549
  },
  "oklch": {
    "l": 0.96595,
    "c": 0.11376,
    "h": 118.4
  },
  "luminance": 0.92106
}

Semantic roles & 50–950 ramp

primary
#ECFFA6
secondary
#8065E4
accent
#00E631
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171812
muted
#858682

Preview Lab

Preview with #ECFFA6

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

Preview Lab → · Contrast checker → · Palette generator →

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