#ECCA59#ECCA59

#ECCA59 is a very light, vivid yellow. Relative luminance 0.608; OKLCH L 84.7% C 0.136 H 92.5°. Best body text is #000000 at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#ECCA59
RGBrgb(236, 202, 89)
HSLhsl(46, 79%, 64%)
HSVhsv(46, 62%, 93%)
CMYKcmyk(0%, 14.4%, 62.3%, 7.5%)
CIE-LABlab(82.27, -0.66, 59.35)
CIE-LCHlch(82.27, 59.36, 90.63°)
OKLaboklab(84.7% -0.0059 0.136)
OKLCHoklch(84.7% 0.136 92.5)
XYZxyz(57.5185, 60.7982, 18.1548)
Luminance0.6079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCA59 #597BEC
analogous
#EC8059 #ECCA59 #C5EC59
triadic
#ECCA59 #59ECCA #CA59EC
tetradic
#ECCA59 #59EC80 #597BEC #EC59C5
square
#ECCA59 #59EC80 #597BEC #EC59C5
split-complementary
#ECCA59 #59C5EC #8059EC
monochromatic
#B69115 #E6B822 #ECCA59 #F2DC90 #F9EDC7

Accessibility & contrast

On white

1.60
#ECCA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.16
#ECCA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCA59
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCA59#FFFFFF#000000##000000
##ECCA591.001.6013.1613.16
#FFFFFF1.601.0021.0021.00
#00000013.1621.001.001.00
##00000013.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DEC74D
Deuteranopia (green-blind)
#E6D15E
Tritanopia (blue-blind)
#FEBBB2
Achromatopsia (no color)
#CDCDCD

Design tokens & code

CSS
--color: #ecca59;
/* rgb */ color: rgb(236, 202, 89);
/* oklch */ color: oklch(84.7% 0.136 92.5);
Tailwind
colors: {
  custom: {
    50: '#f5d98c',
    500: '#ecca59',
    950: '#000000',
  },
}
SCSS
$custom: #ecca59;
$custom-light: #f5d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#ecca59",
  "rgb": {
    "r": 236,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 46.122,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.84702,
    "c": 0.1361,
    "h": 92.5
  },
  "luminance": 0.60795
}

Semantic roles & 50–950 ramp

primary
#ECCA59
secondary
#3452B5
accent
#3ADC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECCA59

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

Preview Lab → · Contrast checker → · Palette generator →

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