#ECFC7B#ECFC7B

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

Color values

HEX#ECFC7B
RGBrgb(236, 252, 123)
HSLhsl(67, 96%, 74%)
HSVhsv(67, 51%, 99%)
CMYKcmyk(6.3%, 0%, 51.2%, 1.2%)
CIE-LABlab(95.53, -22.89, 59.26)
CIE-LCHlch(95.53, 63.53, 111.12°)
OKLaboklab(95.35% -0.0658 0.1396)
OKLCHoklch(95.35% 0.154 115.2)
XYZxyz(72.9788, 88.8847, 32.0470)
Luminance0.8888 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFC7B #8B7BFC
analogous
#FCCB7B #ECFC7B #ABFC7B
triadic
#ECFC7B #7BECFC #FC7BEC
tetradic
#ECFC7B #7BFCCB #8B7BFC #FC7BAB
square
#ECFC7B #7BFCCB #8B7BFC #FC7BAB
split-complementary
#ECFC7B #7BABFC #CB7BFC
monochromatic
#D9F706 #E3FB3F #ECFC7B #F5FDB7 #FBFEE1

Accessibility & contrast

On white

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

On black

18.78
#ECFC7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFC7B
18.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFC7B#FFFFFF#000000##000000
##ECFC7B1.001.1218.7818.78
#FFFFFF1.121.0021.0021.00
#00000018.7821.001.001.00
##00000018.7821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecfc7b;
/* rgb */ color: rgb(236, 252, 123);
/* oklch */ color: oklch(95.4% 0.154 115.2);
Tailwind
colors: {
  custom: {
    50: '#f4fda4',
    500: '#ecfc7b',
    950: '#000000',
  },
}
SCSS
$custom: #ecfc7b;
$custom-light: #f4fda4;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfc7b",
  "rgb": {
    "r": 236,
    "g": 252,
    "b": 123
  },
  "hsl": {
    "h": 67.442,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.95354,
    "c": 0.15428,
    "h": 115.2
  },
  "luminance": 0.88884
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #ECFC7B

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

Preview Lab → · Contrast checker → · Palette generator →

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