#ECFFA7#ECFFA7

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

Color values

HEX#ECFFA7
RGBrgb(236, 255, 167)
HSLhsl(73, 100%, 83%)
HSVhsv(73, 35%, 100%)
CMYKcmyk(7.5%, 0%, 34.5%, 0%)
CIE-LABlab(96.88, -19.78, 40.05)
CIE-LCHlch(96.88, 44.67, 116.28°)
OKLaboklab(96.61% -0.0537 0.099)
OKLCHoklch(96.61% 0.113 118.5)
XYZxyz(77.3270, 92.1433, 50.2635)
Luminance0.9214 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFFA7 #BAA7FF
analogous
#FFE6A7 #ECFFA7 #C0FFA7
triadic
#ECFFA7 #A7ECFF #FFA7EC
tetradic
#ECFFA7 #A7FFE6 #BAA7FF #FFA7C0
square
#ECFFA7 #A7FFE6 #BAA7FF #FFA7C0
split-complementary
#ECFFA7 #A7C0FF #E6A7FF
monochromatic
#D2FF2D #DFFF6A #ECFFA7 #F8FFE0 #F8FFE0

Accessibility & contrast

On white

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

On black

19.43
#ECFFA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFFA7
19.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFFA7#FFFFFF#000000##000000
##ECFFA71.001.0819.4319.43
#FFFFFF1.081.0021.0021.00
#00000019.4321.001.001.00
##00000019.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecffa7;
/* rgb */ color: rgb(236, 255, 167);
/* oklch */ color: oklch(96.6% 0.113 118.5);
Tailwind
colors: {
  custom: {
    50: '#f3ffc2',
    500: '#ecffa7',
    950: '#000000',
  },
}
SCSS
$custom: #ecffa7;
$custom-light: #f3ffc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecffa7",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 167
  },
  "hsl": {
    "h": 72.955,
    "s": 100,
    "l": 82.745
  },
  "oklch": {
    "l": 0.96612,
    "c": 0.11263,
    "h": 118.5
  },
  "luminance": 0.92143
}

Semantic roles & 50–950 ramp

primary
#ECFFA7
secondary
#8166E4
accent
#00E632
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171812
muted
#858682

Preview Lab

Preview with #ECFFA7

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

Preview Lab → · Contrast checker → · Palette generator →

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