#ECD977#ECD977

#ECD977 is a very light, vivid yellow. Relative luminance 0.688; OKLCH L 88.1% C 0.121 H 98.6°. Best body text is #000000 at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#ECD977
RGBrgb(236, 217, 119)
HSLhsl(50, 75%, 70%)
HSVhsv(50, 50%, 93%)
CMYKcmyk(0%, 8.1%, 49.6%, 7.5%)
CIE-LABlab(86.40, -6.04, 50.25)
CIE-LCHlch(86.40, 50.61, 96.86°)
OKLaboklab(88.07% -0.018 0.1195)
OKLCHoklch(88.07% 0.121 98.6)
XYZxyz(62.7366, 68.7928, 27.4229)
Luminance0.6879 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD977 #778AEC
analogous
#EC9E77 #ECD977 #C5EC77
triadic
#ECD977 #77ECD9 #D977EC
tetradic
#ECD977 #77EC9E #778AEC #EC77C5
square
#ECD977 #77EC9E #778AEC #EC77C5
split-complementary
#ECD977 #77C5EC #9E77EC
monochromatic
#CCB01D #E4CA41 #ECD977 #F4E8AD #FBF7E2

Accessibility & contrast

On white

1.42
#ECD977 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.76
#ECD977 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD977
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD977#FFFFFF#000000##000000
##ECD9771.001.4214.7614.76
#FFFFFF1.421.0021.0021.00
#00000014.7621.001.001.00
##00000014.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#EAD46E
Deuteranopia (green-blind)
#EFDB7B
Tritanopia (blue-blind)
#FBCDC2
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #ecd977;
/* rgb */ color: rgb(236, 217, 119);
/* oklch */ color: oklch(88.1% 0.121 98.6);
Tailwind
colors: {
  custom: {
    50: '#f4e4a0',
    500: '#ecd977',
    950: '#000000',
  },
}
SCSS
$custom: #ecd977;
$custom-light: #f4e4a0;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd977",
  "rgb": {
    "r": 236,
    "g": 217,
    "b": 119
  },
  "hsl": {
    "h": 50.256,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.88071,
    "c": 0.12088,
    "h": 98.6
  },
  "luminance": 0.6879
}

Semantic roles & 50–950 ramp

primary
#ECD977
secondary
#4258C5
accent
#2FD80E
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480

Preview Lab

Preview with #ECD977

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

Preview Lab → · Contrast checker → · Palette generator →

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