#ECFC84#ECFC84

#ECFC84 is a very light, vivid yellow. Relative luminance 0.891; OKLCH L 95.5% C 0.146 H 115.5°. Best body text is #000000 at 18.82:1 contrast (WCAG AA passes).

Color values

HEX#ECFC84
RGBrgb(236, 252, 132)
HSLhsl(68, 95%, 75%)
HSVhsv(68, 48%, 99%)
CMYKcmyk(6.3%, 0%, 47.6%, 1.2%)
CIE-LABlab(95.63, -22.09, 55.27)
CIE-LCHlch(95.63, 59.52, 111.79°)
OKLaboklab(95.46% -0.0627 0.1316)
OKLCHoklch(95.46% 0.146 115.5)
XYZxyz(73.5683, 89.1205, 35.1517)
Luminance0.8912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC84 #9484FC
analogous
#FCD084 #ECFC84 #B0FC84
triadic
#ECFC84 #84ECFC #FC84EC
tetradic
#ECFC84 #84FCD0 #9484FC #FC84B0
square
#ECFC84 #84FCD0 #9484FC #FC84B0
split-complementary
#ECFC84 #84B0FC #D084FC
monochromatic
#DAF90D #E3FB48 #ECFC84 #F5FDC0 #FAFEE1

Accessibility & contrast

On white

1.12
#ECFC84 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.82
#ECFC84 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC84
18.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC84#FFFFFF#000000##000000
##ECFC841.001.1218.8218.82
#FFFFFF1.121.0021.0021.00
#00000018.8221.001.001.00
##00000018.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF279
Deuteranopia (green-blind)
#FFF48A
Tritanopia (blue-blind)
#F8F0E0
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfc84;
/* rgb */ color: rgb(236, 252, 132);
/* oklch */ color: oklch(95.5% 0.146 115.5);
Tailwind
colors: {
  custom: {
    50: '#f4fdaa',
    500: '#ecfc84',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc84;
$custom-light: #f4fdaa;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc84",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 132
  },
  "hsl": {
    "h": 68,
    "s": 95.238,
    "l": 75.294
  },
  "oklch": {
    "l": 0.95464,
    "c": 0.14575,
    "h": 115.5
  },
  "luminance": 0.8912
}

Semantic roles & 50–950 ramp

primary
#ECFC84
secondary
#5D49DB
accent
#00E61F
background
#FFFFFD
surface
#FFFFF7
border
#D7D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECFC84

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

Preview Lab → · Contrast checker → · Palette generator →

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