#ECF879#ECF879

#ECF879 is a very light, vivid yellow. Relative luminance 0.863; OKLCH L 94.5% C 0.151 H 113.8°. Best body text is #000000 at 18.27:1 contrast (WCAG AA passes).

Color values

HEX#ECF879
RGBrgb(236, 248, 121)
HSLhsl(66, 90%, 72%)
HSVhsv(66, 51%, 97%)
CMYKcmyk(4.8%, 0%, 51.2%, 2.7%)
CIE-LABlab(94.46, -21.15, 58.91)
CIE-LCHlch(94.46, 62.59, 109.75°)
OKLaboklab(94.49% -0.0611 0.1386)
OKLCHoklch(94.49% 0.151 113.8)
XYZxyz(71.6120, 86.3493, 30.9801)
Luminance0.8635 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF879 #8579F8
analogous
#F8C479 #ECF879 #ADF879
triadic
#ECF879 #79ECF8 #F879EC
tetradic
#ECF879 #79F8C4 #8579F8 #F879AD
square
#ECF879 #79F8C4 #8579F8 #F879AD
split-complementary
#ECF879 #79ADF8 #C479F8
monochromatic
#D5EA0C #E4F53F #ECF879 #F4FBB3 #FBFDE2

Accessibility & contrast

On white

1.15
#ECF879 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.27
#ECF879 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF879
18.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF879#FFFFFF#000000##000000
##ECF8791.001.1518.2718.27
#FFFFFF1.151.0021.0021.00
#00000018.2721.001.001.00
##00000018.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEE6D
Deuteranopia (green-blind)
#FFF080
Tritanopia (blue-blind)
#F9ECDB
Achromatopsia (no color)
#EFEFEF

Design tokens & code

CSS
--color: #ecf879;
/* rgb */ color: rgb(236, 248, 121);
/* oklch */ color: oklch(94.5% 0.151 113.8);
Tailwind
colors: {
  custom: {
    50: '#f4faa3',
    500: '#ecf879',
    950: '#000000',
  },
}
SCSS
$custom: #ecf879;
$custom-light: #f4faa3;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf879",
  "rgb": {
    "r": 236,
    "g": 248,
    "b": 121
  },
  "hsl": {
    "h": 65.669,
    "s": 90.071,
    "l": 72.353
  },
  "oklch": {
    "l": 0.94491,
    "c": 0.15146,
    "h": 113.8
  },
  "luminance": 0.86348
}

Semantic roles & 50–950 ramp

primary
#ECF879
secondary
#4F41D4
accent
#00E616
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF879

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

Preview Lab → · Contrast checker → · Palette generator →

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