#ECFC62#ECFC62

#ECFC62 is a very light, vivid yellow. Relative luminance 0.883; OKLCH L 95.1% C 0.175 H 114.8°. Best body text is #000000 at 18.67:1 contrast (WCAG AA passes).

Color values

HEX#ECFC62
RGBrgb(236, 252, 98)
HSLhsl(66, 96%, 69%)
HSVhsv(66, 61%, 99%)
CMYKcmyk(6.3%, 0%, 61.1%, 1.2%)
CIE-LABlab(95.30, -24.79, 69.71)
CIE-LCHlch(95.30, 73.98, 109.57°)
OKLaboklab(95.1% -0.0735 0.1592)
OKLCHoklch(95.1% 0.175 114.8)
XYZxyz(71.6087, 88.3367, 24.8313)
Luminance0.8834 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC62 #7262FC
analogous
#FCBF62 #ECFC62 #9FFC62
triadic
#ECFC62 #62ECFC #FC62EC
tetradic
#ECFC62 #62FCBF #7262FC #FC629F
square
#ECFC62 #62FCBF #7262FC #FC629F
split-complementary
#ECFC62 #629FFC #BF62FC
monochromatic
#C9DF04 #E5FB26 #ECFC62 #F3FD9E #FBFEDA

Accessibility & contrast

On white

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

On black

18.67
#ECFC62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC62
18.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC62#FFFFFF#000000##000000
##ECFC621.001.1218.6718.67
#FFFFFF1.121.0021.0021.00
#00000018.6721.001.001.00
##00000018.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF04F
Deuteranopia (green-blind)
#FFF36C
Tritanopia (blue-blind)
#FAEEDC
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfc62;
/* rgb */ color: rgb(236, 252, 98);
/* oklch */ color: oklch(95.1% 0.175 114.8);
Tailwind
colors: {
  custom: {
    50: '#f5fd95',
    500: '#ecfc62',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc62;
$custom-light: #f5fd95;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc62",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 98
  },
  "hsl": {
    "h": 66.234,
    "s": 96.25,
    "l": 68.627
  },
  "oklch": {
    "l": 0.95096,
    "c": 0.17533,
    "h": 114.8
  },
  "luminance": 0.88336
}

Semantic roles & 50–950 ramp

primary
#ECFC62
secondary
#3E2CD6
accent
#00E618
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECFC62

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

Preview Lab → · Contrast checker → · Palette generator →

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