#ECFF8A#ECFF8A

#ECFF8A is a very light, vivid yellow. Relative luminance 0.912; OKLCH L 96.2% C 0.143 H 116.8°. Best body text is #000000 at 19.24:1 contrast (WCAG AA passes).

Color values

HEX#ECFF8A
RGBrgb(236, 255, 138)
HSLhsl(70, 100%, 77%)
HSVhsv(70, 46%, 100%)
CMYKcmyk(7.5%, 0%, 45.9%, 0%)
CIE-LABlab(96.49, -22.95, 53.51)
CIE-LCHlch(96.49, 58.22, 113.21°)
OKLaboklab(96.17% -0.0646 0.1281)
OKLCHoklch(96.17% 0.144 116.8)
XYZxyz(74.9403, 91.1885, 37.6931)
Luminance0.9119 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF8A #9D8AFF
analogous
#FFD88A #ECFF8A #B1FF8A
triadic
#ECFF8A #8AECFF #FF8AEC
tetradic
#ECFF8A #8AFFD8 #9D8AFF #FF8AB1
square
#ECFF8A #8AFFD8 #9D8AFF #FF8AB1
split-complementary
#ECFF8A #8AB1FF #D88AFF
monochromatic
#D8FF10 #E2FF4D #ECFF8A #F6FFC7 #FAFFE0

Accessibility & contrast

On white

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

On black

19.24
#ECFF8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFF8A
19.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFF8A#FFFFFF#000000##000000
##ECFF8A1.001.0919.2419.24
#FFFFFF1.091.0021.0021.00
#00000019.2421.001.001.00
##00000019.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF480
Deuteranopia (green-blind)
#FFF690
Tritanopia (blue-blind)
#F7F4E4
Achromatopsia (no color)
#F5F5F5

Design tokens & code

CSS
--color: #ecff8a;
/* rgb */ color: rgb(236, 255, 138);
/* oklch */ color: oklch(96.2% 0.143 116.8);
Tailwind
colors: {
  custom: {
    50: '#f4ffae',
    500: '#ecff8a',
    950: '#000000',
  },
}
SCSS
$custom: #ecff8a;
$custom-light: #f4ffae;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff8a",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 138
  },
  "hsl": {
    "h": 69.744,
    "s": 100,
    "l": 77.059
  },
  "oklch": {
    "l": 0.96172,
    "c": 0.1435,
    "h": 116.8
  },
  "luminance": 0.91188
}

Semantic roles & 50–950 ramp

primary
#ECFF8A
secondary
#654EE0
accent
#00E625
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171810
muted
#858681

Preview Lab

Preview with #ECFF8A

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

Preview Lab → · Contrast checker → · Palette generator →

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