#ECFC7A#ECFC7A

#ECFC7A is a very light, vivid yellow. Relative luminance 0.889; OKLCH L 95.3% C 0.155 H 115.2°. Best body text is #000000 at 18.77:1 contrast (WCAG AA passes).

Color values

HEX#ECFC7A
RGBrgb(236, 252, 122)
HSLhsl(67, 96%, 73%)
HSVhsv(67, 52%, 99%)
CMYKcmyk(6.3%, 0%, 51.6%, 1.2%)
CIE-LABlab(95.52, -22.98, 59.70)
CIE-LCHlch(95.52, 63.97, 111.05°)
OKLaboklab(95.34% -0.0661 0.1404)
OKLCHoklch(95.34% 0.155 115.2)
XYZxyz(72.9165, 88.8598, 31.7190)
Luminance0.8886 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC7A #8A7AFC
analogous
#FCCB7A #ECFC7A #ABFC7A
triadic
#ECFC7A #7AECFC #FC7AEC
tetradic
#ECFC7A #7AFCCB #8A7AFC #FC7AAB
square
#ECFC7A #7AFCCB #8A7AFC #FC7AAB
split-complementary
#ECFC7A #7AABFC #CB7AFC
monochromatic
#D8F606 #E3FB3E #ECFC7A #F5FDB6 #FBFEE1

Accessibility & contrast

On white

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

On black

18.77
#ECFC7A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC7A
18.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC7A#FFFFFF#000000##000000
##ECFC7A1.001.1218.7718.77
#FFFFFF1.121.0021.0021.00
#00000018.7721.001.001.00
##00000018.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF16E
Deuteranopia (green-blind)
#FFF381
Tritanopia (blue-blind)
#F9F0DF
Achromatopsia (no color)
#F2F2F2

Design tokens & code

CSS
--color: #ecfc7a;
/* rgb */ color: rgb(236, 252, 122);
/* oklch */ color: oklch(95.3% 0.155 115.2);
Tailwind
colors: {
  custom: {
    50: '#f4fda4',
    500: '#ecfc7a',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc7a;
$custom-light: #f4fda4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc7a",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 122
  },
  "hsl": {
    "h": 67.385,
    "s": 95.588,
    "l": 73.333
  },
  "oklch": {
    "l": 0.95342,
    "c": 0.1552,
    "h": 115.2
  },
  "luminance": 0.88859
}

Semantic roles & 50–950 ramp

primary
#ECFC7A
secondary
#5441D9
accent
#00E61C
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFC7A

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

Preview Lab → · Contrast checker → · Palette generator →

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