#ECFF72#ECFF72

#ECFF72 is a very light, vivid yellow. Relative luminance 0.906; OKLCH L 95.9% C 0.166 H 116.0°. Best body text is #000000 at 19.11:1 contrast (WCAG AA passes).

Color values

HEX#ECFF72
RGBrgb(236, 255, 114)
HSLhsl(68, 100%, 72%)
HSVhsv(68, 55%, 100%)
CMYKcmyk(7.5%, 0%, 55.3%, 0%)
CIE-LABlab(96.23, -25.05, 64.04)
CIE-LCHlch(96.23, 68.77, 111.36°)
OKLaboklab(95.89% -0.0727 0.149)
OKLCHoklch(95.89% 0.166 116)
XYZxyz(73.3906, 90.5687, 29.5316)
Luminance0.9057 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFF72 #8572FF
analogous
#FFCB72 #ECFF72 #A6FF72
triadic
#ECFF72 #72ECFF #FF72EC
tetradic
#ECFF72 #72FFCB #8572FF #FF72A6
square
#ECFF72 #72FFCB #8572FF #FF72A6
split-complementary
#ECFF72 #72A6FF #CB72FF
monochromatic
#D5F700 #E4FF35 #ECFF72 #F4FFAF #FBFFE0

Accessibility & contrast

On white

1.10
#ECFF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

19.11
#ECFF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFF72
19.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFF72#FFFFFF#000000##000000
##ECFF721.001.1019.1119.11
#FFFFFF1.101.0021.0021.00
#00000019.1121.001.001.00
##00000019.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF363
Deuteranopia (green-blind)
#FFF57A
Tritanopia (blue-blind)
#F9F2E0
Achromatopsia (no color)
#F4F4F4

Design tokens & code

CSS
--color: #ecff72;
/* rgb */ color: rgb(236, 255, 114);
/* oklch */ color: oklch(95.9% 0.166 116.0);
Tailwind
colors: {
  custom: {
    50: '#f5ff9f',
    500: '#ecff72',
    950: '#000000',
  },
}
SCSS
$custom: #ecff72;
$custom-light: #f5ff9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecff72",
  "rgb": {
    "r": 236,
    "g": 255,
    "b": 114
  },
  "hsl": {
    "h": 68.085,
    "s": 100,
    "l": 72.353
  },
  "oklch": {
    "l": 0.95885,
    "c": 0.1658,
    "h": 116
  },
  "luminance": 0.90568
}

Semantic roles & 50–950 ramp

primary
#ECFF72
secondary
#4F39DC
accent
#00E61F
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17180F
muted
#858680

Preview Lab

Preview with #ECFF72

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

Preview Lab → · Contrast checker → · Palette generator →

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