#ECFC8B#ECFC8B

#ECFC8B is a very light, vivid yellow. Relative luminance 0.893; OKLCH L 95.6% C 0.139 H 115.7°. Best body text is #000000 at 18.86:1 contrast (WCAG AA passes).

Color values

HEX#ECFC8B
RGBrgb(236, 252, 139)
HSLhsl(68, 95%, 77%)
HSVhsv(68, 45%, 99%)
CMYKcmyk(6.3%, 0%, 44.8%, 1.2%)
CIE-LABlab(95.71, -21.42, 52.10)
CIE-LCHlch(95.71, 56.33, 112.35°)
OKLaboklab(95.56% -0.0602 0.1251)
OKLCHoklch(95.56% 0.139 115.7)
XYZxyz(74.0635, 89.3186, 37.7596)
Luminance0.8932 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC8B #9B8BFC
analogous
#FCD48B #ECFC8B #B4FC8B
triadic
#ECFC8B #8BECFC #FC8BEC
tetradic
#ECFC8B #8BFCD4 #9B8BFC #FC8BB4
square
#ECFC8B #8BFCD4 #9B8BFC #FC8BB4
split-complementary
#ECFC8B #8BB4FC #D48BFC
monochromatic
#D8F914 #E2FA4F #ECFC8B #F6FEC7 #FAFEE1

Accessibility & contrast

On white

1.11
#ECFC8B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.86
#ECFC8B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC8B
18.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC8B#FFFFFF#000000##000000
##ECFC8B1.001.1118.8618.86
#FFFFFF1.111.0021.0021.00
#00000018.8621.001.001.00
##00000018.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF282
Deuteranopia (green-blind)
#FFF491
Tritanopia (blue-blind)
#F7F1E1
Achromatopsia (no color)
#F3F3F3

Design tokens & code

CSS
--color: #ecfc8b;
/* rgb */ color: rgb(236, 252, 139);
/* oklch */ color: oklch(95.6% 0.139 115.7);
Tailwind
colors: {
  custom: {
    50: '#f4fdaf',
    500: '#ecfc8b',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc8b;
$custom-light: #f4fdaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc8b",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 139
  },
  "hsl": {
    "h": 68.496,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.95557,
    "c": 0.13879,
    "h": 115.7
  },
  "luminance": 0.89318
}

Semantic roles & 50–950 ramp

primary
#ECFC8B
secondary
#6350DC
accent
#00E620
background
#FFFFFD
surface
#FEFFF7
border
#D6D7D0
text
#171710
muted
#858581

Preview Lab

Preview with #ECFC8B

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

Preview Lab → · Contrast checker → · Palette generator →

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