#ECD059#ECD059

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

Color values

HEX#ECD059
RGBrgb(236, 208, 89)
HSLhsl(49, 79%, 64%)
HSVhsv(49, 62%, 93%)
CMYKcmyk(0%, 11.9%, 62.3%, 7.5%)
CIE-LABlab(83.79, -3.73, 61.02)
CIE-LCHlch(83.79, 61.13, 93.50°)
OKLaboklab(85.91% -0.0148 0.1395)
OKLCHoklch(85.91% 0.14 96)
XYZxyz(58.9537, 63.6687, 18.6333)
Luminance0.6367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECD059 #5975EC
analogous
#EC8659 #ECD059 #BFEC59
triadic
#ECD059 #59ECD0 #D059EC
tetradic
#ECD059 #59EC86 #5975EC #EC59BF
square
#ECD059 #59EC86 #5975EC #EC59BF
split-complementary
#ECD059 #59BFEC #8659EC
monochromatic
#B69715 #E6C022 #ECD059 #F2E090 #F9EFC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##ECD059#FFFFFF#000000##000000
##ECD0591.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)
#E3CC4C
Deuteranopia (green-blind)
#EBD55F
Tritanopia (blue-blind)
#FEC1B6
Achromatopsia (no color)
#D1D1D1

Design tokens & code

CSS
--color: #ecd059;
/* rgb */ color: rgb(236, 208, 89);
/* oklch */ color: oklch(85.9% 0.140 96.0);
Tailwind
colors: {
  custom: {
    50: '#f5de8c',
    500: '#ecd059',
    950: '#000000',
  },
}
SCSS
$custom: #ecd059;
$custom-light: #f5de8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecd059",
  "rgb": {
    "r": 236,
    "g": 208,
    "b": 89
  },
  "hsl": {
    "h": 48.571,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85906,
    "c": 0.1403,
    "h": 96
  },
  "luminance": 0.63666
}

Semantic roles & 50–950 ramp

primary
#ECD059
secondary
#344CB5
accent
#32DC0A
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F

Preview Lab

Preview with #ECD059

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

Preview Lab → · Contrast checker → · Palette generator →

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