#ECFC6C#ECFC6C

#ECFC6C is a very light, vivid yellow. Relative luminance 0.885; OKLCH L 95.2% C 0.167 H 114.9°. Best body text is #000000 at 18.71:1 contrast (WCAG AA passes).

Color values

HEX#ECFC6C
RGBrgb(236, 252, 108)
HSLhsl(67, 96%, 71%)
HSVhsv(67, 57%, 99%)
CMYKcmyk(6.3%, 0%, 57.1%, 1.2%)
CIE-LABlab(95.39, -24.09, 65.66)
CIE-LCHlch(95.39, 69.94, 110.15°)
OKLaboklab(95.19% -0.0706 0.1518)
OKLCHoklch(95.19% 0.167 114.9)
XYZxyz(72.1107, 88.5375, 27.4752)
Luminance0.8854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC6C #7C6CFC
analogous
#FCC46C #ECFC6C #A4FC6C
triadic
#ECFC6C #6CECFC #FC6CEC
tetradic
#ECFC6C #6CFCC4 #7C6CFC #FC6CA4
square
#ECFC6C #6CFCC4 #7C6CFC #FC6CA4
split-complementary
#ECFC6C #6CA4FC #C46CFC
monochromatic
#D0E905 #E4FB30 #ECFC6C #F4FDA8 #FBFEE1

Accessibility & contrast

On white

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

On black

18.71
#ECFC6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC6C
18.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC6C#FFFFFF#000000##000000
##ECFC6C1.001.1218.7118.71
#FFFFFF1.121.0021.0021.00
#00000018.7121.001.001.00
##00000018.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF15C
Deuteranopia (green-blind)
#FFF375
Tritanopia (blue-blind)
#F9EFDD
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfc6c;
/* rgb */ color: rgb(236, 252, 108);
/* oklch */ color: oklch(95.2% 0.167 114.9);
Tailwind
colors: {
  custom: {
    50: '#f5fd9b',
    500: '#ecfc6c',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc6c;
$custom-light: #f5fd9b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc6c",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 108
  },
  "hsl": {
    "h": 66.667,
    "s": 96,
    "l": 70.588
  },
  "oklch": {
    "l": 0.95191,
    "c": 0.16741,
    "h": 114.9
  },
  "luminance": 0.88536
}

Semantic roles & 50–950 ramp

primary
#ECFC6C
secondary
#4735D7
accent
#00E61A
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECFC6C

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

Preview Lab → · Contrast checker → · Palette generator →

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