#ECD556#ECD556

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

Color values

HEX#ECD556
RGBrgb(236, 213, 86)
HSLhsl(51, 80%, 63%)
HSVhsv(51, 64%, 93%)
CMYKcmyk(0%, 9.7%, 63.6%, 7.5%)
CIE-LABlab(85.05, -6.46, 63.65)
CIE-LCHlch(85.05, 63.98, 95.79°)
OKLaboklab(86.89% -0.0229 0.1447)
OKLCHoklch(86.89% 0.146 99)
XYZxyz(60.0686, 66.0960, 18.3960)
Luminance0.6609 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD556 #566DEC
analogous
#EC8A56 #ECD556 #B8EC56
triadic
#ECD556 #56ECD5 #D556EC
tetradic
#ECD556 #56EC8A #566DEC #EC56B8
square
#ECD556 #56EC8A #566DEC #EC56B8
split-complementary
#ECD556 #56B8EC #8A56EC
monochromatic
#B39B14 #E6C71F #ECD556 #F2E38D #F8F0C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD556#FFFFFF#000000##000000
##ECD5561.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)
#E8D047
Deuteranopia (green-blind)
#EFD85D
Tritanopia (blue-blind)
#FDC6BA
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd556;
/* rgb */ color: rgb(236, 213, 86);
/* oklch */ color: oklch(86.9% 0.146 99.0);
Tailwind
colors: {
  custom: {
    50: '#f5e18b',
    500: '#ecd556',
    950: '#000000',
  },
}
SCSS
$custom: #ecd556;
$custom-light: #f5e18b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd556",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 86
  },
  "hsl": {
    "h": 50.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.86889,
    "c": 0.14648,
    "h": 99
  },
  "luminance": 0.66093
}

Semantic roles & 50–950 ramp

primary
#ECD556
secondary
#3347B3
accent
#2ADC09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD556

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

Preview Lab → · Contrast checker → · Palette generator →

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