#ECD557#ECD557

#ECD557 is a very light, vivid yellow. Relative luminance 0.661; OKLCH L 86.9% C 0.146 H 98.9°. Best body text is #000000 at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#ECD557
RGBrgb(236, 213, 87)
HSLhsl(51, 80%, 63%)
HSVhsv(51, 63%, 93%)
CMYKcmyk(0%, 9.7%, 63.1%, 7.5%)
CIE-LABlab(85.05, -6.40, 63.24)
CIE-LCHlch(85.05, 63.56, 95.78°)
OKLaboklab(86.9% -0.0226 0.144)
OKLCHoklch(86.9% 0.146 98.9)
XYZxyz(60.1092, 66.1122, 18.6097)
Luminance0.6611 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD557 #576EEC
analogous
#EC8A57 #ECD557 #B8EC57
triadic
#ECD557 #57ECD5 #D557EC
tetradic
#ECD557 #57EC8A #576EEC #EC57B8
square
#ECD557 #57EC8A #576EEC #EC57B8
split-complementary
#ECD557 #57B8EC #8A57EC
monochromatic
#B49C14 #E6C720 #ECD557 #F2E38E #F8F0C5

Accessibility & contrast

On white

1.48
#ECD557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.22
#ECD557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD557
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD557#FFFFFF#000000##000000
##ECD5571.001.4814.2214.22
#FFFFFF1.481.0021.0021.00
#00000014.2221.001.001.00
##00000014.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D048
Deuteranopia (green-blind)
#EED85E
Tritanopia (blue-blind)
#FDC6BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd557;
/* rgb */ color: rgb(236, 213, 87);
/* oklch */ color: oklch(86.9% 0.146 98.9);
Tailwind
colors: {
  custom: {
    50: '#f5e18c',
    500: '#ecd557',
    950: '#000000',
  },
}
SCSS
$custom: #ecd557;
$custom-light: #f5e18c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd557",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 87
  },
  "hsl": {
    "h": 50.738,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.86898,
    "c": 0.14572,
    "h": 98.9
  },
  "luminance": 0.66109
}

Semantic roles & 50–950 ramp

primary
#ECD557
secondary
#3347B4
accent
#2ADC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD557

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

Preview Lab → · Contrast checker → · Palette generator →

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