#ECD559#ECD559

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

Color values

HEX#ECD559
RGBrgb(236, 213, 89)
HSLhsl(51, 79%, 64%)
HSVhsv(51, 62%, 93%)
CMYKcmyk(0%, 9.7%, 62.3%, 7.5%)
CIE-LABlab(85.07, -6.27, 62.41)
CIE-LCHlch(85.07, 62.72, 95.74°)
OKLaboklab(86.92% -0.022 0.1425)
OKLCHoklch(86.92% 0.144 98.8)
XYZxyz(60.1920, 66.1453, 19.0460)
Luminance0.6614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD559 #5970EC
analogous
#EC8B59 #ECD559 #B9EC59
triadic
#ECD559 #59ECD5 #D559EC
tetradic
#ECD559 #59EC8B #5970EC #EC59B9
square
#ECD559 #59EC8B #5970EC #EC59B9
split-complementary
#ECD559 #59B9EC #8B59EC
monochromatic
#B69D15 #E6C722 #ECD559 #F2E390 #F9F1C7

Accessibility & contrast

On white

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

On black

14.23
#ECD559 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD559
14.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD559#FFFFFF#000000##000000
##ECD5591.001.4814.2314.23
#FFFFFF1.481.0021.0021.00
#00000014.2321.001.001.00
##00000014.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D04B
Deuteranopia (green-blind)
#EED85F
Tritanopia (blue-blind)
#FDC7BB
Achromatopsia (no color)
#D4D4D4

Design tokens & code

CSS
--color: #ecd559;
/* rgb */ color: rgb(236, 213, 89);
/* oklch */ color: oklch(86.9% 0.144 98.8);
Tailwind
colors: {
  custom: {
    50: '#f5e18d',
    500: '#ecd559',
    950: '#000000',
  },
}
SCSS
$custom: #ecd559;
$custom-light: #f5e18d;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd559",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 89
  },
  "hsl": {
    "h": 50.612,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.86917,
    "c": 0.14416,
    "h": 98.8
  },
  "luminance": 0.66143
}

Semantic roles & 50–950 ramp

primary
#ECD559
secondary
#3448B5
accent
#2BDC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD559

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

Preview Lab → · Contrast checker → · Palette generator →

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