#ECFC5E#ECFC5E

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

Color values

HEX#ECFC5E
RGBrgb(236, 252, 94)
HSLhsl(66, 96%, 68%)
HSVhsv(66, 63%, 99%)
CMYKcmyk(6.3%, 0%, 62.7%, 1.2%)
CIE-LABlab(95.27, -25.04, 71.27)
CIE-LCHlch(95.27, 75.54, 109.36°)
OKLaboklab(95.06% -0.0747 0.1619)
OKLCHoklch(95.06% 0.178 114.8)
XYZxyz(71.4246, 88.2630, 23.8614)
Luminance0.8826 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC5E #6E5EFC
analogous
#FCBD5E #ECFC5E #9DFC5E
triadic
#ECFC5E #5EECFC #FC5EEC
tetradic
#ECFC5E #5EFCBD #6E5EFC #FC5E9D
square
#ECFC5E #5EFCBD #6E5EFC #FC5E9D
split-complementary
#ECFC5E #5E9DFC #BD5EFC
monochromatic
#C6DC04 #E5FB22 #ECFC5E #F3FD9A #FAFED6

Accessibility & contrast

On white

1.13
#ECFC5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.65
#ECFC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC5E
18.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC5E#FFFFFF#000000##000000
##ECFC5E1.001.1318.6518.65
#FFFFFF1.131.0021.0021.00
#00000018.6521.001.001.00
##00000018.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF04A
Deuteranopia (green-blind)
#FFF369
Tritanopia (blue-blind)
#FAEEDB
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfc5e;
/* rgb */ color: rgb(236, 252, 94);
/* oklch */ color: oklch(95.1% 0.178 114.8);
Tailwind
colors: {
  custom: {
    50: '#f5fd93',
    500: '#ecfc5e',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc5e;
$custom-light: #f5fd93;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc5e",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 94
  },
  "hsl": {
    "h": 66.076,
    "s": 96.341,
    "l": 67.843
  },
  "oklch": {
    "l": 0.95061,
    "c": 0.17829,
    "h": 114.8
  },
  "luminance": 0.88262
}

Semantic roles & 50–950 ramp

primary
#ECFC5E
secondary
#3B29D5
accent
#00E617
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170D
muted
#85857F

Preview Lab

Preview with #ECFC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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