#ECF77C#ECF77C

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

Color values

HEX#ECF77C
RGBrgb(236, 247, 124)
HSLhsl(65, 88%, 73%)
HSVhsv(65, 50%, 97%)
CMYKcmyk(4.5%, 0%, 49.8%, 3.1%)
CIE-LABlab(94.23, -20.42, 57.27)
CIE-LCHlch(94.23, 60.80, 109.62°)
OKLaboklab(94.32% -0.0587 0.1353)
OKLCHoklch(94.32% 0.148 113.4)
XYZxyz(71.4922, 85.8108, 31.8619)
Luminance0.8581 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF77C #877CF7
analogous
#F7C57C #ECF77C #AEF77C
triadic
#ECF77C #7CECF7 #F77CEC
tetradic
#ECF77C #7CF7C5 #877CF7 #F77CAE
square
#ECF77C #7CF7C5 #877CF7 #F77CAE
split-complementary
#ECF77C #7CAEF7 #C57CF7
monochromatic
#D7EA0E #E4F342 #ECF77C #F4FBB6 #FBFDE2

Accessibility & contrast

On white

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

On black

18.16
#ECF77C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF77C
18.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF77C#FFFFFF#000000##000000
##ECF77C1.001.1618.1618.16
#FFFFFF1.161.0021.0021.00
#00000018.1621.001.001.00
##00000018.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf77c;
/* rgb */ color: rgb(236, 247, 124);
/* oklch */ color: oklch(94.3% 0.147 113.4);
Tailwind
colors: {
  custom: {
    50: '#f4f9a5',
    500: '#ecf77c',
    950: '#000000',
  },
}
SCSS
$custom: #ecf77c;
$custom-light: #f4f9a5;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf77c",
  "rgb": {
    "r": 236,
    "g": 247,
    "b": 124
  },
  "hsl": {
    "h": 65.366,
    "s": 88.489,
    "l": 72.745
  },
  "oklch": {
    "l": 0.94317,
    "c": 0.1475,
    "h": 113.4
  },
  "luminance": 0.8581
}

Semantic roles & 50–950 ramp

primary
#ECF77C
secondary
#5144D3
accent
#00E515
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF77C

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

Preview Lab → · Contrast checker → · Palette generator →

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