#ECF77F#ECF77F

#ECF77F is a very light, vivid yellow. Relative luminance 0.859; OKLCH L 94.4% C 0.145 H 113.5°. Best body text is #000000 at 18.18:1 contrast (WCAG AA passes).

Color values

HEX#ECF77F
RGBrgb(236, 247, 127)
HSLhsl(66, 88%, 73%)
HSVhsv(66, 49%, 97%)
CMYKcmyk(4.5%, 0%, 48.6%, 3.1%)
CIE-LABlab(94.26, -20.15, 55.94)
CIE-LCHlch(94.26, 59.45, 109.81°)
OKLaboklab(94.35% -0.0576 0.1327)
OKLCHoklch(94.35% 0.145 113.5)
XYZxyz(71.6848, 85.8878, 32.8763)
Luminance0.8589 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF77F #8A7FF7
analogous
#F7C67F #ECF77F #B0F77F
triadic
#ECF77F #7FECF7 #F77FEC
tetradic
#ECF77F #7FF7C6 #8A7FF7 #F77FB0
square
#ECF77F #7FF7C6 #8A7FF7 #F77FB0
split-complementary
#ECF77F #7FB0F7 #C67FF7
monochromatic
#D8ED0F #E3F345 #ECF77F #F5FBB9 #FBFDE2

Accessibility & contrast

On white

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

On black

18.18
#ECF77F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF77F
18.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF77F#FFFFFF#000000##000000
##ECF77F1.001.1618.1818.18
#FFFFFF1.161.0021.0021.00
#00000018.1821.001.001.00
##00000018.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED74
Deuteranopia (green-blind)
#FFF085
Tritanopia (blue-blind)
#F9EBDB
Achromatopsia (no color)
#EEEEEE

Design tokens & code

CSS
--color: #ecf77f;
/* rgb */ color: rgb(236, 247, 127);
/* oklch */ color: oklch(94.4% 0.145 113.5);
Tailwind
colors: {
  custom: {
    50: '#f4f9a7',
    500: '#ecf77f',
    950: '#000000',
  },
}
SCSS
$custom: #ecf77f;
$custom-light: #f4f9a7;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf77f",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 127
  },
  "hsl": {
    "h": 65.5,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.94354,
    "c": 0.14464,
    "h": 113.5
  },
  "luminance": 0.85887
}

Semantic roles & 50–950 ramp

primary
#ECF77F
secondary
#5447D3
accent
#01E516
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#171710
muted
#858580

Preview Lab

Preview with #ECF77F

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

Preview Lab → · Contrast checker → · Palette generator →

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