#ECFFA8#ECFFA8

#ECFFA8 is a very light, moderate yellow-green. Relative luminance 0.922; OKLCH L 96.6% C 0.112 H 118.6°. Best body text is #000000 at 19.44:1 contrast (WCAG AA passes).

Color values

HEX#ECFFA8
RGBrgb(236, 255, 168)
HSLhsl(73, 100%, 83%)
HSVhsv(73, 34%, 100%)
CMYKcmyk(7.5%, 0%, 34.1%, 0%)
CIE-LABlab(96.89, -19.66, 39.57)
CIE-LCHlch(96.89, 44.19, 116.41°)
OKLaboklab(96.63% -0.0533 0.0979)
OKLCHoklch(96.63% 0.112 118.6)
XYZxyz(77.4198, 92.1804, 50.7522)
Luminance0.9218 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFFA8 #BBA8FF
analogous
#FFE6A8 #ECFFA8 #C1FFA8
triadic
#ECFFA8 #A8ECFF #FFA8EC
tetradic
#ECFFA8 #A8FFE6 #BBA8FF #FFA8C1
square
#ECFFA8 #A8FFE6 #BBA8FF #FFA8C1
split-complementary
#ECFFA8 #A8C1FF #E6A8FF
monochromatic
#D1FF2E #DFFF6B #ECFFA8 #F8FFE0 #F8FFE0

Accessibility & contrast

On white

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

On black

19.44
#ECFFA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFFA8
19.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFFA8#FFFFFF#000000##000000
##ECFFA81.001.0819.4419.44
#FFFFFF1.081.0021.0021.00
#00000019.4421.001.001.00
##00000019.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecffa8;
/* rgb */ color: rgb(236, 255, 168);
/* oklch */ color: oklch(96.6% 0.112 118.6);
Tailwind
colors: {
  custom: {
    50: '#f3ffc2',
    500: '#ecffa8',
    950: '#000000',
  },
}
SCSS
$custom: #ecffa8;
$custom-light: #f3ffc2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecffa8",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 168
  },
  "hsl": {
    "h": 73.103,
    "s": 100,
    "l": 82.941
  },
  "oklch": {
    "l": 0.96629,
    "c": 0.1115,
    "h": 118.6
  },
  "luminance": 0.9218
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFFA8

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

Preview Lab → · Contrast checker → · Palette generator →

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