#ECFC6B#ECFC6B

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

Color values

HEX#ECFC6B
RGBrgb(236, 252, 107)
HSLhsl(67, 96%, 70%)
HSVhsv(67, 58%, 99%)
CMYKcmyk(6.3%, 0%, 57.5%, 1.2%)
CIE-LABlab(95.38, -24.16, 66.08)
CIE-LCHlch(95.38, 70.36, 110.09°)
OKLaboklab(95.18% -0.0709 0.1526)
OKLCHoklch(95.18% 0.168 114.9)
XYZxyz(72.0578, 88.5163, 27.1965)
Luminance0.8851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC6B #7B6BFC
analogous
#FCC46B #ECFC6B #A3FC6B
triadic
#ECFC6B #6BECFC #FC6BEC
tetradic
#ECFC6B #6BFCC4 #7B6BFC #FC6BA3
square
#ECFC6B #6BFCC4 #7B6BFC #FC6BA3
split-complementary
#ECFC6B #6BA3FC #C46BFC
monochromatic
#CFE805 #E4FB2F #ECFC6B #F4FDA7 #FBFEE1

Accessibility & contrast

On white

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

On black

18.70
#ECFC6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC6B
18.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC6B#FFFFFF#000000##000000
##ECFC6B1.001.1218.7018.70
#FFFFFF1.121.0021.0021.00
#00000018.7021.001.001.00
##00000018.7021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecfc6b;
/* rgb */ color: rgb(236, 252, 107);
/* oklch */ color: oklch(95.2% 0.168 114.9);
Tailwind
colors: {
  custom: {
    50: '#f5fd9a',
    500: '#ecfc6b',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc6b;
$custom-light: #f5fd9a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc6b",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 107
  },
  "hsl": {
    "h": 66.621,
    "s": 96.026,
    "l": 70.392
  },
  "oklch": {
    "l": 0.95181,
    "c": 0.16824,
    "h": 114.9
  },
  "luminance": 0.88515
}

Semantic roles & 50–950 ramp

primary
#ECFC6B
secondary
#4634D7
accent
#00E619
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECFC6B

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

Preview Lab → · Contrast checker → · Palette generator →

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