#ECC959#ECC959

#ECC959 is a very light, vivid yellow. Relative luminance 0.603; OKLCH L 84.5% C 0.135 H 91.9°. Best body text is #000000 at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#ECC959
RGBrgb(236, 201, 89)
HSLhsl(46, 79%, 64%)
HSVhsv(46, 62%, 93%)
CMYKcmyk(0%, 14.8%, 62.3%, 7.5%)
CIE-LABlab(82.02, -0.14, 59.07)
CIE-LCHlch(82.02, 59.07, 90.14°)
OKLaboklab(84.5% -0.0044 0.1354)
OKLCHoklch(84.5% 0.135 91.9)
XYZxyz(57.2846, 60.3305, 18.0769)
Luminance0.6033 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC959 #597CEC
analogous
#EC7F59 #ECC959 #C5EC59
triadic
#ECC959 #59ECC9 #C959EC
tetradic
#ECC959 #59EC7F #597CEC #EC59C5
square
#ECC959 #59EC7F #597CEC #EC59C5
split-complementary
#ECC959 #59C5EC #7F59EC
monochromatic
#B68F15 #E6B722 #ECC959 #F2DB90 #F9EDC7

Accessibility & contrast

On white

1.61
#ECC959 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.07
#ECC959 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC959
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC959#FFFFFF#000000##000000
##ECC9591.001.6113.0713.07
#FFFFFF1.611.0021.0021.00
#00000013.0721.001.001.00
##00000013.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64D
Deuteranopia (green-blind)
#E6D05E
Tritanopia (blue-blind)
#FEBAB1
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #ecc959;
/* rgb */ color: rgb(236, 201, 89);
/* oklch */ color: oklch(84.5% 0.135 91.9);
Tailwind
colors: {
  custom: {
    50: '#f6d98c',
    500: '#ecc959',
    950: '#000000',
  },
}
SCSS
$custom: #ecc959;
$custom-light: #f6d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc959",
  "rgb": {
    "r": 236,
    "g": 201,
    "b": 89
  },
  "hsl": {
    "h": 45.714,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.84503,
    "c": 0.13545,
    "h": 91.9
  },
  "luminance": 0.60327
}

Semantic roles & 50–950 ramp

primary
#ECC959
secondary
#3453B5
accent
#3CDC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC959

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

Preview Lab → · Contrast checker → · Palette generator →

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