#ECF677#ECF677

#ECF677 is a very light, vivid yellow. Relative luminance 0.851; OKLCH L 94.0% C 0.151 H 113.0°. Best body text is #000000 at 18.02:1 contrast (WCAG AA passes).

Color values

HEX#ECF677
RGBrgb(236, 246, 119)
HSLhsl(65, 88%, 72%)
HSVhsv(65, 52%, 96%)
CMYKcmyk(4.1%, 0%, 51.6%, 3.5%)
CIE-LABlab(93.92, -20.36, 59.17)
CIE-LCHlch(93.92, 62.58, 108.99°)
OKLaboklab(94.05% -0.059 0.139)
OKLCHoklch(94.05% 0.151 113)
XYZxyz(70.8790, 85.0776, 30.1370)
Luminance0.8508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECF677 #8177F6
analogous
#F6C077 #ECF677 #ADF677
triadic
#ECF677 #77ECF6 #F677EC
tetradic
#ECF677 #77F6C0 #8177F6 #F677AD
square
#ECF677 #77F6C0 #8177F6 #F677AD
split-complementary
#ECF677 #77ADF6 #C077F6
monochromatic
#D3E40F #E4F23E #ECF677 #F4FAB0 #FBFDE2

Accessibility & contrast

On white

1.17
#ECF677 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

18.02
#ECF677 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECF677
18.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECF677#FFFFFF#000000##000000
##ECF6771.001.1718.0218.02
#FFFFFF1.171.0021.0021.00
#00000018.0221.001.001.00
##00000018.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6B
Deuteranopia (green-blind)
#FFEF7E
Tritanopia (blue-blind)
#F9EAD9
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #ecf677;
/* rgb */ color: rgb(236, 246, 119);
/* oklch */ color: oklch(94.0% 0.151 113.0);
Tailwind
colors: {
  custom: {
    50: '#f4f9a1',
    500: '#ecf677',
    950: '#000000',
  },
}
SCSS
$custom: #ecf677;
$custom-light: #f4f9a1;
$custom-dark: #000000;
JSON
{
  "hex": "#ecf677",
  "rgb": {
    "r": 236,
    "g": 246,
    "b": 119
  },
  "hsl": {
    "h": 64.724,
    "s": 87.586,
    "l": 71.569
  },
  "oklch": {
    "l": 0.94049,
    "c": 0.15101,
    "h": 113
  },
  "luminance": 0.85076
}

Semantic roles & 50–950 ramp

primary
#ECF677
secondary
#4B40D1
accent
#01E413
background
#FFFFFC
surface
#FFFFF6
border
#D7D7D0
text
#17170F
muted
#858580

Preview Lab

Preview with #ECF677

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

Preview Lab → · Contrast checker → · Palette generator →

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