#ECFD62#ECFD62

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

Color values

HEX#ECFD62
RGBrgb(236, 253, 98)
HSLhsl(67, 97%, 69%)
HSVhsv(67, 61%, 99%)
CMYKcmyk(6.7%, 0%, 61.3%, 0.8%)
CIE-LABlab(95.57, -25.26, 69.99)
CIE-LCHlch(95.57, 74.41, 109.84°)
OKLaboklab(95.31% -0.0749 0.1598)
OKLCHoklch(95.31% 0.176 115.1)
XYZxyz(71.9236, 88.9664, 24.9363)
Luminance0.8897 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFD62 #7362FD
analogous
#FDC162 #ECFD62 #9FFD62
triadic
#ECFD62 #62ECFD #FD62EC
tetradic
#ECFD62 #62FDC1 #7362FD #FD629F
square
#ECFD62 #62FDC1 #7362FD #FD629F
split-complementary
#ECFD62 #629FFD #C162FD
monochromatic
#C9E203 #E5FC26 #ECFD62 #F3FE9E #FBFFDB

Accessibility & contrast

On white

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

On black

18.79
#ECFD62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFD62
18.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFD62#FFFFFF#000000##000000
##ECFD621.001.1218.7918.79
#FFFFFF1.121.0021.0021.00
#00000018.7921.001.001.00
##00000018.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF14F
Deuteranopia (green-blind)
#FFF46C
Tritanopia (blue-blind)
#FAEFDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfd62;
/* rgb */ color: rgb(236, 253, 98);
/* oklch */ color: oklch(95.3% 0.176 115.1);
Tailwind
colors: {
  custom: {
    50: '#f5fe95',
    500: '#ecfd62',
    950: '#000000',
  },
}
SCSS
$custom: #ecfd62;
$custom-light: #f5fe95;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfd62",
  "rgb": {
    "r": 236,
    "g": 253,
    "b": 98
  },
  "hsl": {
    "h": 66.581,
    "s": 97.484,
    "l": 68.824
  },
  "oklch": {
    "l": 0.95307,
    "c": 0.17643,
    "h": 115.1
  },
  "luminance": 0.88965
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFD62

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

Preview Lab → · Contrast checker → · Palette generator →

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