#ECD056#ECD056

#ECD056 is a very light, vivid yellow. Relative luminance 0.636; OKLCH L 85.9% C 0.143 H 96.3°. Best body text is #000000 at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#ECD056
RGBrgb(236, 208, 86)
HSLhsl(49, 80%, 63%)
HSVhsv(49, 64%, 93%)
CMYKcmyk(0%, 11.9%, 63.6%, 7.5%)
CIE-LABlab(83.77, -3.92, 62.28)
CIE-LCHlch(83.77, 62.40, 93.60°)
OKLaboklab(85.88% -0.0156 0.1418)
OKLCHoklch(85.88% 0.143 96.3)
XYZxyz(58.8303, 63.6194, 17.9833)
Luminance0.6362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD056 #5672EC
analogous
#EC8556 #ECD056 #BDEC56
triadic
#ECD056 #56ECD0 #D056EC
tetradic
#ECD056 #56EC85 #5672EC #EC56BD
square
#ECD056 #56EC85 #5672EC #EC56BD
split-complementary
#ECD056 #56BDEC #8556EC
monochromatic
#B39614 #E6C11F #ECD056 #F2DF8D #F8EFC4

Accessibility & contrast

On white

1.53
#ECD056 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.72
#ECD056 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD056
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD056#FFFFFF#000000##000000
##ECD0561.001.5313.7213.72
#FFFFFF1.531.0021.0021.00
#00000013.7221.001.001.00
##00000013.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4CC48
Deuteranopia (green-blind)
#EBD55C
Tritanopia (blue-blind)
#FEC1B6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ecd056;
/* rgb */ color: rgb(236, 208, 86);
/* oklch */ color: oklch(85.9% 0.143 96.3);
Tailwind
colors: {
  custom: {
    50: '#f6de8b',
    500: '#ecd056',
    950: '#000000',
  },
}
SCSS
$custom: #ecd056;
$custom-light: #f6de8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd056",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 86
  },
  "hsl": {
    "h": 48.8,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.85877,
    "c": 0.14263,
    "h": 96.3
  },
  "luminance": 0.63617
}

Semantic roles & 50–950 ramp

primary
#ECD056
secondary
#334BB3
accent
#31DC09
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD056

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

Preview Lab → · Contrast checker → · Palette generator →

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