#ECFC88#ECFC88

#ECFC88 is a very light, vivid yellow. Relative luminance 0.892; OKLCH L 95.5% C 0.142 H 115.6°. Best body text is #000000 at 18.85:1 contrast (WCAG AA passes).

Color values

HEX#ECFC88
RGBrgb(236, 252, 136)
HSLhsl(68, 95%, 76%)
HSVhsv(68, 46%, 99%)
CMYKcmyk(6.3%, 0%, 46%, 1.2%)
CIE-LABlab(95.68, -21.71, 53.46)
CIE-LCHlch(95.68, 57.70, 112.10°)
OKLaboklab(95.52% -0.0613 0.1279)
OKLCHoklch(95.52% 0.142 115.6)
XYZxyz(73.8473, 89.2321, 36.6210)
Luminance0.8923 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC88 #9888FC
analogous
#FCD288 #ECFC88 #B2FC88
triadic
#ECFC88 #88ECFC #FC88EC
tetradic
#ECFC88 #88FCD2 #9888FC #FC88B2
square
#ECFC88 #88FCD2 #9888FC #FC88B2
split-complementary
#ECFC88 #88B2FC #D288FC
monochromatic
#D9F911 #E2FA4C #ECFC88 #F6FEC4 #FAFEE1

Accessibility & contrast

On white

1.11
#ECFC88 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.85
#ECFC88 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC88
18.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC88#FFFFFF#000000##000000
##ECFC881.001.1118.8518.85
#FFFFFF1.111.0021.0021.00
#00000018.8521.001.001.00
##00000018.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF27E
Deuteranopia (green-blind)
#FFF48E
Tritanopia (blue-blind)
#F8F1E1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecfc88;
/* rgb */ color: rgb(236, 252, 136);
/* oklch */ color: oklch(95.5% 0.142 115.6);
Tailwind
colors: {
  custom: {
    50: '#f4fdad',
    500: '#ecfc88',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc88;
$custom-light: #f4fdad;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc88",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 136
  },
  "hsl": {
    "h": 68.276,
    "s": 95.082,
    "l": 76.078
  },
  "oklch": {
    "l": 0.95517,
    "c": 0.1418,
    "h": 115.6
  },
  "luminance": 0.89231
}

Semantic roles & 50–950 ramp

primary
#ECFC88
secondary
#614DDB
accent
#00E620
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECFC88

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

Preview Lab → · Contrast checker → · Palette generator →

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