#ECF977#ECF977

#ECF977 is a very light, vivid yellow. Relative luminance 0.869; OKLCH L 94.7% C 0.154 H 114.1°. Best body text is #000000 at 18.38:1 contrast (WCAG AA passes).

Color values

HEX#ECF977
RGBrgb(236, 249, 119)
HSLhsl(66, 92%, 72%)
HSVhsv(66, 52%, 98%)
CMYKcmyk(5.2%, 0%, 52.2%, 2.4%)
CIE-LABlab(94.70, -21.80, 60.09)
CIE-LCHlch(94.70, 63.92, 109.94°)
OKLaboklab(94.68% -0.0631 0.141)
OKLCHoklch(94.68% 0.154 114.1)
XYZxyz(71.7988, 86.9173, 30.4436)
Luminance0.8692 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF977 #8477F9
analogous
#F9C577 #ECF977 #ABF977
triadic
#ECF977 #77ECF9 #F977EC
tetradic
#ECF977 #77F9C5 #8477F9 #F977AB
square
#ECF977 #77F9C5 #8477F9 #F977AB
split-complementary
#ECF977 #77ABF9 #C577F9
monochromatic
#D5EB0A #E4F63C #ECF977 #F4FCB2 #FBFEE2

Accessibility & contrast

On white

1.14
#ECF977 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.38
#ECF977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF977
18.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF977#FFFFFF#000000##000000
##ECF9771.001.1418.3818.38
#FFFFFF1.141.0021.0021.00
#00000018.3821.001.001.00
##00000018.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEF6A
Deuteranopia (green-blind)
#FFF17E
Tritanopia (blue-blind)
#F9EDDC
Achromatopsia (no color)
#F0F0F0

Design tokens & code

CSS
--color: #ecf977;
/* rgb */ color: rgb(236, 249, 119);
/* oklch */ color: oklch(94.7% 0.154 114.1);
Tailwind
colors: {
  custom: {
    50: '#f4fba2',
    500: '#ecf977',
    950: '#000000',
  },
}
SCSS
$custom: #ecf977;
$custom-light: #f4fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf977",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 119
  },
  "hsl": {
    "h": 66,
    "s": 91.549,
    "l": 72.157
  },
  "oklch": {
    "l": 0.94677,
    "c": 0.15445,
    "h": 114.1
  },
  "luminance": 0.86916
}

Semantic roles & 50–950 ramp

primary
#ECF977
secondary
#4E3FD5
accent
#00E617
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF977

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

Preview Lab → · Contrast checker → · Palette generator →

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