#ECFB77#ECFB77

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

Color values

HEX#ECFB77
RGBrgb(236, 251, 119)
HSLhsl(67, 94%, 73%)
HSVhsv(67, 53%, 98%)
CMYKcmyk(6%, 0%, 52.6%, 1.6%)
CIE-LABlab(95.23, -22.75, 60.70)
CIE-LCHlch(95.23, 64.82, 110.55°)
OKLaboklab(95.1% -0.0658 0.1423)
OKLCHoklch(95.1% 0.157 114.8)
XYZxyz(72.4203, 88.1602, 30.6507)
Luminance0.8816 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECFB77 #8677FB
analogous
#FBC877 #ECFB77 #AAFB77
triadic
#ECFB77 #77ECFB #FB77EC
tetradic
#ECFB77 #77FBC8 #8677FB #FB77AA
square
#ECFB77 #77FBC8 #8677FB #FB77AA
split-complementary
#ECFB77 #77AAFB #C877FB
monochromatic
#D6F107 #E4F93C #ECFB77 #F4FDB2 #FBFEE1

Accessibility & contrast

On white

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

On black

18.63
#ECFB77 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECFB77
18.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECFB77#FFFFFF#000000##000000
##ECFB771.001.1318.6318.63
#FFFFFF1.131.0021.0021.00
#00000018.6321.001.001.00
##00000018.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFF06A
Deuteranopia (green-blind)
#FFF37E
Tritanopia (blue-blind)
#F9EFDE
Achromatopsia (no color)
#F1F1F1

Design tokens & code

CSS
--color: #ecfb77;
/* rgb */ color: rgb(236, 251, 119);
/* oklch */ color: oklch(95.1% 0.157 114.8);
Tailwind
colors: {
  custom: {
    50: '#f4fca2',
    500: '#ecfb77',
    950: '#000000',
  },
}
SCSS
$custom: #ecfb77;
$custom-light: #f4fca2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecfb77",
  "rgb": {
    "r": 236,
    "g": 251,
    "b": 119
  },
  "hsl": {
    "h": 66.818,
    "s": 94.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.95097,
    "c": 0.15676,
    "h": 114.8
  },
  "luminance": 0.88159
}

Semantic roles & 50–950 ramp

primary
#ECFB77
secondary
#503FD8
accent
#00E61A
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECFB77

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

Preview Lab → · Contrast checker → · Palette generator →

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