#ECFFA5#ECFFA5

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

Color values

HEX#ECFFA5
RGBrgb(236, 255, 165)
HSLhsl(73, 100%, 82%)
HSVhsv(73, 35%, 100%)
CMYKcmyk(7.5%, 0%, 35.3%, 0%)
CIE-LABlab(96.85, -20.02, 40.99)
CIE-LCHlch(96.85, 45.62, 116.03°)
OKLaboklab(96.58% -0.0545 0.1011)
OKLCHoklch(96.58% 0.115 118.3)
XYZxyz(77.1436, 92.0699, 49.2973)
Luminance0.9207 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFFA5 #B8A5FF
analogous
#FFE5A5 #ECFFA5 #BFFFA5
triadic
#ECFFA5 #A5ECFF #FFA5EC
tetradic
#ECFFA5 #A5FFE5 #B8A5FF #FFA5BF
square
#ECFFA5 #A5FFE5 #B8A5FF #FFA5BF
split-complementary
#ECFFA5 #A5BFFF #E5A5FF
monochromatic
#D2FF2B #DFFF68 #ECFFA5 #F9FFE0 #F9FFE0

Accessibility & contrast

On white

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

On black

19.41
#ECFFA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFFA5
19.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFFA5#FFFFFF#000000##000000
##ECFFA51.001.0819.4119.41
#FFFFFF1.081.0021.0021.00
#00000019.4121.001.001.00
##00000019.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecffa5;
/* rgb */ color: rgb(236, 255, 165);
/* oklch */ color: oklch(96.6% 0.115 118.3);
Tailwind
colors: {
  custom: {
    50: '#f3ffc0',
    500: '#ecffa5',
    950: '#000000',
  },
}
SCSS
$custom: #ecffa5;
$custom-light: #f3ffc0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecffa5",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 165
  },
  "hsl": {
    "h": 72.667,
    "s": 100,
    "l": 82.353
  },
  "oklch": {
    "l": 0.96578,
    "c": 0.11488,
    "h": 118.3
  },
  "luminance": 0.92069
}

Semantic roles & 50–950 ramp

primary
#ECFFA5
secondary
#7F64E4
accent
#00E630
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171812
muted
#858682

Preview Lab

Preview with #ECFFA5

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

Preview Lab → · Contrast checker → · Palette generator →

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