#ECD057#ECD057

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

Color values

HEX#ECD057
RGBrgb(236, 208, 87)
HSLhsl(49, 80%, 63%)
HSVhsv(49, 63%, 93%)
CMYKcmyk(0%, 11.9%, 63.1%, 7.5%)
CIE-LABlab(83.78, -3.86, 61.86)
CIE-LCHlch(83.78, 61.98, 93.57°)
OKLaboklab(85.89% -0.0153 0.141)
OKLCHoklch(85.89% 0.142 96.2)
XYZxyz(58.8709, 63.6356, 18.1970)
Luminance0.6363 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD057 #5773EC
analogous
#EC8557 #ECD057 #BDEC57
triadic
#ECD057 #57ECD0 #D057EC
tetradic
#ECD057 #57EC85 #5773EC #EC57BD
square
#ECD057 #57EC85 #5773EC #EC57BD
split-complementary
#ECD057 #57BDEC #8557EC
monochromatic
#B49614 #E6C120 #ECD057 #F2DF8E #F8EFC5

Accessibility & contrast

On white

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

On black

13.73
#ECD057 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECD057
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECD057#FFFFFF#000000##000000
##ECD0571.001.5313.7313.73
#FFFFFF1.531.0021.0021.00
#00000013.7321.001.001.00
##00000013.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecd057;
/* rgb */ color: rgb(236, 208, 87);
/* oklch */ color: oklch(85.9% 0.142 96.2);
Tailwind
colors: {
  custom: {
    50: '#f5de8b',
    500: '#ecd057',
    950: '#000000',
  },
}
SCSS
$custom: #ecd057;
$custom-light: #f5de8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd057",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 87
  },
  "hsl": {
    "h": 48.725,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.85886,
    "c": 0.14186,
    "h": 96.2
  },
  "luminance": 0.63633
}

Semantic roles & 50–950 ramp

primary
#ECD057
secondary
#334BB4
accent
#31DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD057

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

Preview Lab → · Contrast checker → · Palette generator →

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