#ECF179#ECF179

#ECF179 is a very light, vivid yellow. Relative luminance 0.821; OKLCH L 93.0% C 0.143 H 111.0°. Best body text is #000000 at 17.42:1 contrast (WCAG AA passes).

Color values

HEX#ECF179
RGBrgb(236, 241, 121)
HSLhsl(63, 81%, 71%)
HSVhsv(63, 50%, 95%)
CMYKcmyk(2.1%, 0%, 49.8%, 5.5%)
CIE-LABlab(92.63, -17.78, 56.75)
CIE-LCHlch(92.63, 59.47, 107.39°)
OKLaboklab(93.03% -0.0515 0.1339)
OKLCHoklch(93.03% 0.143 111)
XYZxyz(69.5000, 82.1254, 30.2761)
Luminance0.8212 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF179 #7E79F1
analogous
#F1BA79 #ECF179 #B0F179
triadic
#ECF179 #79ECF1 #F179EC
tetradic
#ECF179 #79F1BA #7E79F1 #F179B0
square
#ECF179 #79F1BA #7E79F1 #F179B0
split-complementary
#ECF179 #79B0F1 #BA79F1
monochromatic
#D1D917 #E4EB42 #ECF179 #F4F7B0 #FBFCE3

Accessibility & contrast

On white

1.21
#ECF179 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.42
#ECF179 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF179
17.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF179#FFFFFF#000000##000000
##ECF1791.001.2117.4217.42
#FFFFFF1.211.0021.0021.00
#00000017.4221.001.001.00
##00000017.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86E
Deuteranopia (green-blind)
#FFEC7F
Tritanopia (blue-blind)
#F9E5D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf179;
/* rgb */ color: rgb(236, 241, 121);
/* oklch */ color: oklch(93.0% 0.143 111.0);
Tailwind
colors: {
  custom: {
    50: '#f4f5a2',
    500: '#ecf179',
    950: '#000000',
  },
}
SCSS
$custom: #ecf179;
$custom-light: #f4f5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf179",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 121
  },
  "hsl": {
    "h": 62.5,
    "s": 81.081,
    "l": 70.98
  },
  "oklch": {
    "l": 0.93029,
    "c": 0.14348,
    "h": 111
  },
  "luminance": 0.82124
}

Semantic roles & 50–950 ramp

primary
#ECF179
secondary
#4943CB
accent
#08DD11
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF179

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

Preview Lab → · Contrast checker → · Palette generator →

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