#ECFC73#ECFC73

#ECFC73 is a very light, vivid yellow. Relative luminance 0.887; OKLCH L 95.3% C 0.161 H 115.1°. Best body text is #000000 at 18.74:1 contrast (WCAG AA passes).

Color values

HEX#ECFC73
RGBrgb(236, 252, 115)
HSLhsl(67, 96%, 72%)
HSVhsv(67, 54%, 99%)
CMYKcmyk(6.3%, 0%, 54.4%, 1.2%)
CIE-LABlab(95.45, -23.55, 62.72)
CIE-LCHlch(95.45, 67.00, 110.58°)
OKLaboklab(95.26% -0.0684 0.1463)
OKLCHoklch(95.26% 0.161 115.1)
XYZxyz(72.4983, 88.6925, 29.5165)
Luminance0.8869 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC73 #8373FC
analogous
#FCC773 #ECFC73 #A8FC73
triadic
#ECFC73 #73ECFC #FC73EC
tetradic
#ECFC73 #73FCC7 #8373FC #FC73A8
square
#ECFC73 #73FCC7 #8373FC #FC73A8
split-complementary
#ECFC73 #73A8FC #C773FC
monochromatic
#D4EF05 #E4FB37 #ECFC73 #F4FDAF #FBFEE1

Accessibility & contrast

On white

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

On black

18.74
#ECFC73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC73
18.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC73#FFFFFF#000000##000000
##ECFC731.001.1218.7418.74
#FFFFFF1.121.0021.0021.00
#00000018.7421.001.001.00
##00000018.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF165
Deuteranopia (green-blind)
#FFF37B
Tritanopia (blue-blind)
#F9EFDE
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfc73;
/* rgb */ color: rgb(236, 252, 115);
/* oklch */ color: oklch(95.3% 0.161 115.1);
Tailwind
colors: {
  custom: {
    50: '#f5fd9f',
    500: '#ecfc73',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc73;
$custom-light: #f5fd9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc73",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 115
  },
  "hsl": {
    "h": 67.007,
    "s": 95.804,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95263,
    "c": 0.16146,
    "h": 115.1
  },
  "luminance": 0.88691
}

Semantic roles & 50–950 ramp

primary
#ECFC73
secondary
#4D3BD8
accent
#00E61B
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFC73

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

Preview Lab → · Contrast checker → · Palette generator →

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