#ECFD72#ECFD72

#ECFD72 is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.5% C 0.163 H 115.4°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#ECFD72
RGBrgb(236, 253, 114)
HSLhsl(67, 97%, 72%)
HSVhsv(67, 55%, 99%)
CMYKcmyk(6.7%, 0%, 54.9%, 0.8%)
CIE-LABlab(95.71, -24.11, 63.44)
CIE-LCHlch(95.71, 67.87, 110.80°)
OKLaboklab(95.46% -0.0701 0.1477)
OKLCHoklch(95.46% 0.163 115.4)
XYZxyz(72.7559, 89.2993, 29.3201)
Luminance0.8930 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFD72 #8372FD
analogous
#FDC972 #ECFD72 #A7FD72
triadic
#ECFD72 #72ECFD #FD72EC
tetradic
#ECFD72 #72FDC9 #8372FD #FD72A7
square
#ECFD72 #72FDC9 #8372FD #FD72A7
split-complementary
#ECFD72 #72A7FD #C972FD
monochromatic
#D4F103 #E4FC36 #ECFD72 #F4FEAE #FBFFE1

Accessibility & contrast

On white

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

On black

18.86
#ECFD72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFD72
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFD72#FFFFFF#000000##000000
##ECFD721.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF264
Deuteranopia (green-blind)
#FFF47A
Tritanopia (blue-blind)
#F9F0DF
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecfd72;
/* rgb */ color: rgb(236, 253, 114);
/* oklch */ color: oklch(95.5% 0.163 115.4);
Tailwind
colors: {
  custom: {
    50: '#f5fe9f',
    500: '#ecfd72',
    950: '#000000',
  },
}
SCSS
$custom: #ecfd72;
$custom-light: #f5fe9f;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfd72",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 114
  },
  "hsl": {
    "h": 67.338,
    "s": 97.203,
    "l": 71.961
  },
  "oklch": {
    "l": 0.95463,
    "c": 0.16349,
    "h": 115.4
  },
  "luminance": 0.89298
}

Semantic roles & 50–950 ramp

primary
#ECFD72
secondary
#4D3AD9
accent
#00E61C
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFD72

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

Preview Lab → · Contrast checker → · Palette generator →

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