#ECFEA8#ECFEA8

#ECFEA8 is a very light, moderate yellow-green. Relative luminance 0.915; OKLCH L 96.4% C 0.110 H 118.1°. Best body text is #000000 at 19.31:1 contrast (WCAG AA passes).

Color values

HEX#ECFEA8
RGBrgb(236, 254, 168)
HSLhsl(73, 98%, 83%)
HSVhsv(73, 34%, 100%)
CMYKcmyk(7.1%, 0%, 33.9%, 0.4%)
CIE-LABlab(96.63, -19.18, 39.23)
CIE-LCHlch(96.63, 43.67, 116.05°)
OKLaboklab(96.42% -0.052 0.0971)
OKLCHoklch(96.42% 0.11 118.1)
XYZxyz(77.1017, 91.5440, 50.6462)
Luminance0.9154 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFEA8 #BAA8FE
analogous
#FEE5A8 #ECFEA8 #C1FEA8
triadic
#ECFEA8 #A8ECFE #FEA8EC
tetradic
#ECFEA8 #A8FEE5 #BAA8FE #FEA8C1
square
#ECFEA8 #A8FEE5 #BAA8FE #FEA8C1
split-complementary
#ECFEA8 #A8C1FE #E5A8FE
monochromatic
#D2FD2F #DFFD6B #ECFEA8 #F8FFE1 #F8FFE1

Accessibility & contrast

On white

1.09
#ECFEA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.31
#ECFEA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFEA8
19.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFEA8#FFFFFF#000000##000000
##ECFEA81.001.0919.3119.31
#FFFFFF1.091.0021.0021.00
#00000019.3121.001.001.00
##00000019.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF5A2
Deuteranopia (green-blind)
#FFF6AC
Tritanopia (blue-blind)
#F4F5E8
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #ecfea8;
/* rgb */ color: rgb(236, 254, 168);
/* oklch */ color: oklch(96.4% 0.110 118.1);
Tailwind
colors: {
  custom: {
    50: '#f3fec2',
    500: '#ecfea8',
    950: '#000000',
  },
}
SCSS
$custom: #ecfea8;
$custom-light: #f3fec2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfea8",
  "rgb": {
    "r": 236,
    "g": 254,
    "b": 168
  },
  "hsl": {
    "h": 72.558,
    "s": 97.727,
    "l": 82.745
  },
  "oklch": {
    "l": 0.96422,
    "c": 0.11016,
    "h": 118.1
  },
  "luminance": 0.91544
}

Semantic roles & 50–950 ramp

primary
#ECFEA8
secondary
#8168E3
accent
#00E630
background
#FFFFFD
surface
#FEFFF9
border
#D6D7D2
text
#171712
muted
#858582

Preview Lab

Preview with #ECFEA8

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

Preview Lab → · Contrast checker → · Palette generator →

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