#ECFDA2#ECFDA2

#ECFDA2 is a very light, moderate yellow-green. Relative luminance 0.907; OKLCH L 96.1% C 0.116 H 117.3°. Best body text is #000000 at 19.14:1 contrast (WCAG AA passes).

Color values

HEX#ECFDA2
RGBrgb(236, 253, 162)
HSLhsl(71, 96%, 81%)
HSVhsv(71, 36%, 99%)
CMYKcmyk(6.7%, 0%, 36%, 0.8%)
CIE-LABlab(96.28, -19.41, 41.73)
CIE-LCHlch(96.28, 46.03, 114.94°)
OKLaboklab(96.11% -0.0529 0.1027)
OKLCHoklch(96.11% 0.116 117.3)
XYZxyz(76.2391, 90.6926, 47.6645)
Luminance0.9069 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFDA2 #B3A2FD
analogous
#FDE1A2 #ECFDA2 #BFFDA2
triadic
#ECFDA2 #A2ECFD #FDA2EC
tetradic
#ECFDA2 #A2FDE1 #B3A2FD #FDA2BF
square
#ECFDA2 #A2FDE1 #B3A2FD #FDA2BF
split-complementary
#ECFDA2 #A2BFFD #E1A2FD
monochromatic
#D4FA2A #E0FC66 #ECFDA2 #F8FEDE #F9FEE1

Accessibility & contrast

On white

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

On black

19.14
#ECFDA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFDA2
19.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFDA2#FFFFFF#000000##000000
##ECFDA21.001.1019.1419.14
#FFFFFF1.101.0021.0021.00
#00000019.1421.001.001.00
##00000019.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF49B
Deuteranopia (green-blind)
#FFF5A6
Tritanopia (blue-blind)
#F5F4E6
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #ecfda2;
/* rgb */ color: rgb(236, 253, 162);
/* oklch */ color: oklch(96.1% 0.116 117.3);
Tailwind
colors: {
  custom: {
    50: '#f3febe',
    500: '#ecfda2',
    950: '#000000',
  },
}
SCSS
$custom: #ecfda2;
$custom-light: #f3febe;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfda2",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 162
  },
  "hsl": {
    "h": 71.209,
    "s": 95.789,
    "l": 81.373
  },
  "oklch": {
    "l": 0.96113,
    "c": 0.11556,
    "h": 117.3
  },
  "luminance": 0.90692
}

Semantic roles & 50–950 ramp

primary
#ECFDA2
secondary
#7A63E0
accent
#00E62B
background
#FFFFFD
surface
#FEFFF8
border
#D6D7D1
text
#171712
muted
#858582

Preview Lab

Preview with #ECFDA2

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

Preview Lab → · Contrast checker → · Palette generator →

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