#ECD560#ECD560

#ECD560 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.0% C 0.138 H 98.3°. Best body text is #000000 at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#ECD560
RGBrgb(236, 213, 96)
HSLhsl(50, 79%, 65%)
HSVhsv(50, 59%, 93%)
CMYKcmyk(0%, 9.7%, 59.3%, 7.5%)
CIE-LABlab(85.13, -5.81, 59.43)
CIE-LCHlch(85.13, 59.71, 95.59°)
OKLaboklab(86.99% -0.0199 0.1371)
OKLCHoklch(86.99% 0.138 98.3)
XYZxyz(60.5001, 66.2685, 20.6684)
Luminance0.6627 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD560 #6077EC
analogous
#EC8F60 #ECD560 #BDEC60
triadic
#ECD560 #60ECD5 #D560EC
tetradic
#ECD560 #60EC8F #6077EC #EC60BD
square
#ECD560 #60EC8F #6077EC #EC60BD
split-complementary
#ECD560 #60BDEC #8F60EC
monochromatic
#BBA016 #E5C729 #ECD560 #F3E397 #F9F2CD

Accessibility & contrast

On white

1.47
#ECD560 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.25
#ECD560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD560
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD560#FFFFFF#000000##000000
##ECD5601.001.4714.2514.25
#FFFFFF1.471.0021.0021.00
#00000014.2521.001.001.00
##00000014.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#E8D054
Deuteranopia (green-blind)
#EED866
Tritanopia (blue-blind)
#FDC7BB
Achromatopsia (no color)
#D5D5D5

Design tokens & code

CSS
--color: #ecd560;
/* rgb */ color: rgb(236, 213, 96);
/* oklch */ color: oklch(87.0% 0.138 98.3);
Tailwind
colors: {
  custom: {
    50: '#f5e191',
    500: '#ecd560',
    950: '#000000',
  },
}
SCSS
$custom: #ecd560;
$custom-light: #f5e191;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd560",
  "rgb": {
    "r": 236,
    "g": 213,
    "b": 96
  },
  "hsl": {
    "h": 50.143,
    "s": 78.652,
    "l": 65.098
  },
  "oklch": {
    "l": 0.86987,
    "c": 0.13849,
    "h": 98.3
  },
  "luminance": 0.66266
}

Semantic roles & 50–950 ramp

primary
#ECD560
secondary
#364CBA
accent
#2DDB0B
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#17150D
muted
#85847F

Preview Lab

Preview with #ECD560

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

Preview Lab → · Contrast checker → · Palette generator →

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