#ECFCA8#ECFCA8

#ECFCA8 is a very light, moderate yellow-green. Relative luminance 0.903; OKLCH L 96.0% C 0.107 H 117.3°. Best body text is #000000 at 19.06:1 contrast (WCAG AA passes).

Color values

HEX#ECFCA8
RGBrgb(236, 252, 168)
HSLhsl(71, 93%, 82%)
HSVhsv(71, 33%, 99%)
CMYKcmyk(6.3%, 0%, 33.3%, 1.2%)
CIE-LABlab(96.11, -18.21, 38.55)
CIE-LCHlch(96.11, 42.64, 115.28°)
OKLaboklab(96.01% -0.0492 0.0955)
OKLCHoklch(96.01% 0.107 117.3)
XYZxyz(76.4703, 90.2813, 50.4357)
Luminance0.9028 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFCA8 #B8A8FC
analogous
#FCE2A8 #ECFCA8 #C2FCA8
triadic
#ECFCA8 #A8ECFC #FCA8EC
tetradic
#ECFCA8 #A8FCE2 #B8A8FC #FCA8C2
square
#ECFCA8 #A8FCE2 #B8A8FC #FCA8C2
split-complementary
#ECFCA8 #A8C2FC #E2A8FC
monochromatic
#D2F832 #DFFA6D #ECFCA8 #F9FEE1 #F9FEE1

Accessibility & contrast

On white

1.10
#ECFCA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.06
#ECFCA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFCA8
19.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFCA8#FFFFFF#000000##000000
##ECFCA81.001.1019.0619.06
#FFFFFF1.101.0021.0021.00
#00000019.0621.001.001.00
##00000019.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF3A2
Deuteranopia (green-blind)
#FFF4AC
Tritanopia (blue-blind)
#F4F3E7
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #ecfca8;
/* rgb */ color: rgb(236, 252, 168);
/* oklch */ color: oklch(96.0% 0.107 117.3);
Tailwind
colors: {
  custom: {
    50: '#f3fdc2',
    500: '#ecfca8',
    950: '#000000',
  },
}
SCSS
$custom: #ecfca8;
$custom-light: #f3fdc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfca8",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 168
  },
  "hsl": {
    "h": 71.429,
    "s": 93.333,
    "l": 82.353
  },
  "oklch": {
    "l": 0.96007,
    "c": 0.10747,
    "h": 117.3
  },
  "luminance": 0.90281
}

Semantic roles & 50–950 ramp

primary
#ECFCA8
secondary
#7F69DF
accent
#00E62C
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171712
muted
#858582

Preview Lab

Preview with #ECFCA8

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

Preview Lab → · Contrast checker → · Palette generator →

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