#ECFD59#ECFD59

#ECFD59 is a very light, vivid yellow. Relative luminance 0.888; OKLCH L 95.2% C 0.183 H 115.0°. Best body text is #000000 at 18.76:1 contrast (WCAG AA passes).

Color values

HEX#ECFD59
RGBrgb(236, 253, 89)
HSLhsl(66, 98%, 67%)
HSVhsv(66, 65%, 99%)
CMYKcmyk(6.7%, 0%, 64.8%, 0.8%)
CIE-LABlab(95.50, -25.82, 73.44)
CIE-LCHlch(95.50, 77.84, 109.37°)
OKLaboklab(95.23% -0.0773 0.1658)
OKLCHoklch(95.23% 0.183 115)
XYZxyz(71.5223, 88.8059, 22.8228)
Luminance0.8881 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFD59 #6A59FD
analogous
#FDBC59 #ECFD59 #9AFD59
triadic
#ECFD59 #59ECFD #FD59EC
tetradic
#ECFD59 #59FDBC #6A59FD #FD599A
square
#ECFD59 #59FDBC #6A59FD #FD599A
split-complementary
#ECFD59 #599AFD #BC59FD
monochromatic
#C3D903 #E5FC1D #ECFD59 #F3FE95 #FAFED2

Accessibility & contrast

On white

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

On black

18.76
#ECFD59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFD59
18.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFD59#FFFFFF#000000##000000
##ECFD591.001.1218.7618.76
#FFFFFF1.121.0021.0021.00
#00000018.7621.001.001.00
##00000018.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecfd59;
/* rgb */ color: rgb(236, 253, 89);
/* oklch */ color: oklch(95.2% 0.183 115.0);
Tailwind
colors: {
  custom: {
    50: '#f5fe90',
    500: '#ecfd59',
    950: '#000000',
  },
}
SCSS
$custom: #ecfd59;
$custom-light: #f5fe90;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfd59",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 89
  },
  "hsl": {
    "h": 66.22,
    "s": 97.619,
    "l": 67.059
  },
  "oklch": {
    "l": 0.95232,
    "c": 0.18292,
    "h": 115
  },
  "luminance": 0.88805
}

Semantic roles & 50–950 ramp

primary
#ECFD59
secondary
#3928D3
accent
#00E618
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#18170D
muted
#86857F

Preview Lab

Preview with #ECFD59

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

Preview Lab → · Contrast checker → · Palette generator →

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