#ECF979#ECF979

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

Color values

HEX#ECF979
RGBrgb(236, 249, 121)
HSLhsl(66, 91%, 73%)
HSVhsv(66, 51%, 98%)
CMYKcmyk(5.2%, 0%, 51.4%, 2.4%)
CIE-LABlab(94.72, -21.63, 59.21)
CIE-LCHlch(94.72, 63.04, 110.07°)
OKLaboklab(94.7% -0.0624 0.1393)
OKLCHoklch(94.7% 0.153 114.1)
XYZxyz(71.9202, 86.9658, 31.0828)
Luminance0.8697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF979 #8679F9
analogous
#F9C679 #ECF979 #ACF979
triadic
#ECF979 #79ECF9 #F979EC
tetradic
#ECF979 #79F9C6 #8679F9 #F979AC
square
#ECF979 #79F9C6 #8679F9 #F979AC
split-complementary
#ECF979 #79ACF9 #C679F9
monochromatic
#D6ED0B #E4F63E #ECF979 #F4FCB4 #FBFEE2

Accessibility & contrast

On white

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

On black

18.39
#ECF979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF979
18.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF979#FFFFFF#000000##000000
##ECF9791.001.1418.3918.39
#FFFFFF1.141.0021.0021.00
#00000018.3921.001.001.00
##00000018.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecf979;
/* rgb */ color: rgb(236, 249, 121);
/* oklch */ color: oklch(94.7% 0.153 114.1);
Tailwind
colors: {
  custom: {
    50: '#f4fba3',
    500: '#ecf979',
    950: '#000000',
  },
}
SCSS
$custom: #ecf979;
$custom-light: #f4fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf979",
  "rgb": {
    "r": 236,
    "g": 249,
    "b": 121
  },
  "hsl": {
    "h": 66.094,
    "s": 91.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.94701,
    "c": 0.15262,
    "h": 114.1
  },
  "luminance": 0.86965
}

Semantic roles & 50–950 ramp

primary
#ECF979
secondary
#5041D5
accent
#00E617
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF979

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

Preview Lab → · Contrast checker → · Palette generator →

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