#ECF178#ECF178

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

Color values

HEX#ECF178
RGBrgb(236, 241, 120)
HSLhsl(62, 81%, 71%)
HSVhsv(62, 50%, 95%)
CMYKcmyk(2.1%, 0%, 50.2%, 5.5%)
CIE-LABlab(92.62, -17.86, 57.20)
CIE-LCHlch(92.62, 59.92, 107.34°)
OKLaboklab(93.02% -0.0518 0.1348)
OKLCHoklch(93.02% 0.144 111)
XYZxyz(69.4390, 82.1010, 29.9548)
Luminance0.8210 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF178 #7D78F1
analogous
#F1B978 #ECF178 #AFF178
triadic
#ECF178 #78ECF1 #F178EC
tetradic
#ECF178 #78F1B9 #7D78F1 #F178AF
square
#ECF178 #78F1B9 #7D78F1 #F178AF
split-complementary
#ECF178 #78AFF1 #B978F1
monochromatic
#D0D816 #E4EB41 #ECF178 #F4F7AF #FBFCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF178#FFFFFF#000000##000000
##ECF1781.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)
#FFE86D
Deuteranopia (green-blind)
#FFEC7E
Tritanopia (blue-blind)
#FAE5D6
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf178;
/* rgb */ color: rgb(236, 241, 120);
/* oklch */ color: oklch(93.0% 0.144 111.0);
Tailwind
colors: {
  custom: {
    50: '#f4f5a2',
    500: '#ecf178',
    950: '#000000',
  },
}
SCSS
$custom: #ecf178;
$custom-light: #f4f5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf178",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 62.479,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.93017,
    "c": 0.14443,
    "h": 111
  },
  "luminance": 0.821
}

Semantic roles & 50–950 ramp

primary
#ECF178
secondary
#4842CB
accent
#08DE11
background
#FFFFFC
surface
#FFFEF6
border
#D7D6D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF178

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

Preview Lab → · Contrast checker → · Palette generator →

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