#ECFC5F#ECFC5F

#ECFC5F 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.66:1 contrast (WCAG AA passes).

Color values

HEX#ECFC5F
RGBrgb(236, 252, 95)
HSLhsl(66, 96%, 68%)
HSVhsv(66, 62%, 99%)
CMYKcmyk(6.3%, 0%, 62.3%, 1.2%)
CIE-LABlab(95.28, -24.98, 70.88)
CIE-LCHlch(95.28, 75.15, 109.41°)
OKLaboklab(95.07% -0.0744 0.1612)
OKLCHoklch(95.07% 0.178 114.8)
XYZxyz(71.4697, 88.2811, 24.0993)
Luminance0.8828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC5F #6F5FFC
analogous
#FCBE5F #ECFC5F #9DFC5F
triadic
#ECFC5F #5FECFC #FC5FEC
tetradic
#ECFC5F #5FFCBE #6F5FFC #FC5F9D
square
#ECFC5F #5FFCBE #6F5FFC #FC5F9D
split-complementary
#ECFC5F #5F9DFC #BE5FFC
monochromatic
#C6DC04 #E5FB23 #ECFC5F #F3FD9B #FAFED7

Accessibility & contrast

On white

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

On black

18.66
#ECFC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC5F
18.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC5F#FFFFFF#000000##000000
##ECFC5F1.001.1318.6618.66
#FFFFFF1.131.0021.0021.00
#00000018.6621.001.001.00
##00000018.6621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecfc5f;
/* rgb */ color: rgb(236, 252, 95);
/* oklch */ color: oklch(95.1% 0.178 114.8);
Tailwind
colors: {
  custom: {
    50: '#f5fd93',
    500: '#ecfc5f',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc5f;
$custom-light: #f5fd93;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc5f",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 95
  },
  "hsl": {
    "h": 66.115,
    "s": 96.319,
    "l": 68.039
  },
  "oklch": {
    "l": 0.9507,
    "c": 0.17756,
    "h": 114.8
  },
  "luminance": 0.8828
}

Semantic roles & 50–950 ramp

primary
#ECFC5F
secondary
#3B2AD5
accent
#00E617
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170E
muted
#85857F

Preview Lab

Preview with #ECFC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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