#ECF777#ECF777

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

Color values

HEX#ECF777
RGBrgb(236, 247, 119)
HSLhsl(65, 89%, 72%)
HSVhsv(65, 52%, 97%)
CMYKcmyk(4.5%, 0%, 51.8%, 3.1%)
CIE-LABlab(94.18, -20.84, 59.48)
CIE-LCHlch(94.18, 63.02, 109.31°)
OKLaboklab(94.26% -0.0604 0.1397)
OKLCHoklch(94.26% 0.152 113.4)
XYZxyz(71.1840, 85.6875, 30.2386)
Luminance0.8569 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF777 #8277F7
analogous
#F7C277 #ECF777 #ACF777
triadic
#ECF777 #77ECF7 #F777EC
tetradic
#ECF777 #77F7C2 #8277F7 #F777AC
square
#ECF777 #77F7C2 #8277F7 #F777AC
split-complementary
#ECF777 #77ACF7 #C277F7
monochromatic
#D3E60E #E4F43D #ECF777 #F4FAB1 #FBFDE2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF777#FFFFFF#000000##000000
##ECF7771.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)
#FFED6B
Deuteranopia (green-blind)
#FFF07E
Tritanopia (blue-blind)
#F9EBDA
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf777;
/* rgb */ color: rgb(236, 247, 119);
/* oklch */ color: oklch(94.3% 0.152 113.4);
Tailwind
colors: {
  custom: {
    50: '#f4f9a1',
    500: '#ecf777',
    950: '#000000',
  },
}
SCSS
$custom: #ecf777;
$custom-light: #f4f9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf777",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 119
  },
  "hsl": {
    "h": 65.156,
    "s": 88.889,
    "l": 71.765
  },
  "oklch": {
    "l": 0.94258,
    "c": 0.15215,
    "h": 113.4
  },
  "luminance": 0.85686
}

Semantic roles & 50–950 ramp

primary
#ECF777
secondary
#4C40D2
accent
#00E614
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF777

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

Preview Lab → · Contrast checker → · Palette generator →

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