#ECF177#ECF177

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

Color values

HEX#ECF177
RGBrgb(236, 241, 119)
HSLhsl(62, 81%, 71%)
HSVhsv(62, 51%, 95%)
CMYKcmyk(2.1%, 0%, 50.6%, 5.5%)
CIE-LABlab(92.61, -17.95, 57.64)
CIE-LCHlch(92.61, 60.37, 107.29°)
OKLaboklab(93.01% -0.0521 0.1357)
OKLCHoklch(93.01% 0.145 111)
XYZxyz(69.3786, 82.0768, 29.6369)
Luminance0.8207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF177 #7C77F1
analogous
#F1B977 #ECF177 #AFF177
triadic
#ECF177 #77ECF1 #F177EC
tetradic
#ECF177 #77F1B9 #7C77F1 #F177AF
square
#ECF177 #77F1B9 #7C77F1 #F177AF
split-complementary
#ECF177 #77AFF1 #B977F1
monochromatic
#D0D716 #E4EB40 #ECF177 #F4F7AE #FBFCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECF177#FFFFFF#000000##000000
##ECF1771.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)
#FFE86B
Deuteranopia (green-blind)
#FFEC7D
Tritanopia (blue-blind)
#FAE5D5
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #ecf177;
/* rgb */ color: rgb(236, 241, 119);
/* oklch */ color: oklch(93.0% 0.145 111.0);
Tailwind
colors: {
  custom: {
    50: '#f4f5a1',
    500: '#ecf177',
    950: '#000000',
  },
}
SCSS
$custom: #ecf177;
$custom-light: #f4f5a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf177",
  "rgb": {
    "r": 236,
    "g": 241,
    "b": 119
  },
  "hsl": {
    "h": 62.459,
    "s": 81.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.93005,
    "c": 0.14536,
    "h": 111
  },
  "luminance": 0.82075
}

Semantic roles & 50–950 ramp

primary
#ECF177
secondary
#4741CB
accent
#08DE11
background
#FFFFFC
surface
#FFFEF5
border
#D7D6CF
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF177

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

Preview Lab → · Contrast checker → · Palette generator →

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