#ECFD5F#ECFD5F

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

Color values

HEX#ECFD5F
RGBrgb(236, 253, 95)
HSLhsl(66, 98%, 68%)
HSVhsv(66, 62%, 99%)
CMYKcmyk(6.7%, 0%, 62.5%, 0.8%)
CIE-LABlab(95.54, -25.45, 71.16)
CIE-LCHlch(95.54, 75.58, 109.68°)
OKLaboklab(95.28% -0.0757 0.1618)
OKLCHoklch(95.28% 0.179 115.1)
XYZxyz(71.7846, 88.9108, 24.2042)
Luminance0.8891 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFD5F #705FFD
analogous
#FDBF5F #ECFD5F #9DFD5F
triadic
#ECFD5F #5FECFD #FD5FEC
tetradic
#ECFD5F #5FFDBF #705FFD #FD5F9D
square
#ECFD5F #5FFDBF #705FFD #FD5F9D
split-complementary
#ECFD5F #5F9DFD #BF5FFD
monochromatic
#C7DF03 #E5FC23 #ECFD5F #F3FE9B #FAFFD8

Accessibility & contrast

On white

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

On black

18.78
#ECFD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFD5F
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFD5F#FFFFFF#000000##000000
##ECFD5F1.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF14B
Deuteranopia (green-blind)
#FFF46A
Tritanopia (blue-blind)
#FAEFDC
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfd5f;
/* rgb */ color: rgb(236, 253, 95);
/* oklch */ color: oklch(95.3% 0.179 115.1);
Tailwind
colors: {
  custom: {
    50: '#f5fe93',
    500: '#ecfd5f',
    950: '#000000',
  },
}
SCSS
$custom: #ecfd5f;
$custom-light: #f5fe93;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfd5f",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 95
  },
  "hsl": {
    "h": 66.456,
    "s": 97.531,
    "l": 68.235
  },
  "oklch": {
    "l": 0.95281,
    "c": 0.17866,
    "h": 115.1
  },
  "luminance": 0.8891
}

Semantic roles & 50–950 ramp

primary
#ECFD5F
secondary
#3C29D7
accent
#00E619
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECFD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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