#ECF778#ECF778

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

Color values

HEX#ECF778
RGBrgb(236, 247, 120)
HSLhsl(65, 89%, 72%)
HSVhsv(65, 51%, 97%)
CMYKcmyk(4.5%, 0%, 51.4%, 3.1%)
CIE-LABlab(94.19, -20.76, 59.04)
CIE-LCHlch(94.19, 62.58, 109.37°)
OKLaboklab(94.27% -0.06 0.1388)
OKLCHoklch(94.27% 0.151 113.4)
XYZxyz(71.2443, 85.7117, 30.5566)
Luminance0.8571 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF778 #8378F7
analogous
#F7C378 #ECF778 #ADF778
triadic
#ECF778 #78ECF7 #F778EC
tetradic
#ECF778 #78F7C3 #8378F7 #F778AD
square
#ECF778 #78F7C3 #8378F7 #F778AD
split-complementary
#ECF778 #78ADF7 #C378F7
monochromatic
#D4E70E #E4F43E #ECF778 #F4FAB2 #FBFDE2

Accessibility & contrast

On white

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

On black

18.14
#ECF778 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF778
18.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF778#FFFFFF#000000##000000
##ECF7781.001.1618.1418.14
#FFFFFF1.161.0021.0021.00
#00000018.1421.001.001.00
##00000018.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED6C
Deuteranopia (green-blind)
#FFF07F
Tritanopia (blue-blind)
#F9EBDA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf778;
/* rgb */ color: rgb(236, 247, 120);
/* oklch */ color: oklch(94.3% 0.151 113.4);
Tailwind
colors: {
  custom: {
    50: '#f4f9a2',
    500: '#ecf778',
    950: '#000000',
  },
}
SCSS
$custom: #ecf778;
$custom-light: #f4f9a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf778",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 120
  },
  "hsl": {
    "h": 65.197,
    "s": 88.811,
    "l": 71.961
  },
  "oklch": {
    "l": 0.9427,
    "c": 0.15123,
    "h": 113.4
  },
  "luminance": 0.8571
}

Semantic roles & 50–950 ramp

primary
#ECF778
secondary
#4D41D3
accent
#00E514
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF778

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

Preview Lab → · Contrast checker → · Palette generator →

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