#ECF776#ECF776

#ECF776 is a very light, vivid yellow. Relative luminance 0.857; OKLCH L 94.2% C 0.153 H 113.4°. Best body text is #000000 at 18.13:1 contrast (WCAG AA passes).

Color values

HEX#ECF776
RGBrgb(236, 247, 118)
HSLhsl(65, 89%, 72%)
HSVhsv(65, 52%, 97%)
CMYKcmyk(4.5%, 0%, 52.2%, 3.1%)
CIE-LABlab(94.17, -20.93, 59.91)
CIE-LCHlch(94.17, 63.46, 109.25°)
OKLaboklab(94.25% -0.0607 0.1405)
OKLCHoklch(94.25% 0.153 113.4)
XYZxyz(71.1242, 85.6636, 29.9240)
Luminance0.8566 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF776 #8176F7
analogous
#F7C276 #ECF776 #ACF776
triadic
#ECF776 #76ECF7 #F776EC
tetradic
#ECF776 #76F7C2 #8176F7 #F776AC
square
#ECF776 #76F7C2 #8176F7 #F776AC
split-complementary
#ECF776 #76ACF7 #C276F7
monochromatic
#D3E50D #E4F43C #ECF776 #F4FAB0 #FBFDE2

Accessibility & contrast

On white

1.16
#ECF776 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.13
#ECF776 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF776
18.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF776#FFFFFF#000000##000000
##ECF7761.001.1618.1318.13
#FFFFFF1.161.0021.0021.00
#00000018.1321.001.001.00
##00000018.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED69
Deuteranopia (green-blind)
#FFF07D
Tritanopia (blue-blind)
#F9EADA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf776;
/* rgb */ color: rgb(236, 247, 118);
/* oklch */ color: oklch(94.2% 0.153 113.4);
Tailwind
colors: {
  custom: {
    50: '#f4f9a1',
    500: '#ecf776',
    950: '#000000',
  },
}
SCSS
$custom: #ecf776;
$custom-light: #f4f9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf776",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 118
  },
  "hsl": {
    "h": 65.116,
    "s": 88.966,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94247,
    "c": 0.15306,
    "h": 113.4
  },
  "luminance": 0.85662
}

Semantic roles & 50–950 ramp

primary
#ECF776
secondary
#4B3FD2
accent
#00E614
background
#FFFFFC
surface
#FFFFF5
border
#D7D7CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF776

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

Preview Lab → · Contrast checker → · Palette generator →

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