#ECCC55#ECCC55

#ECCC55 is a very light, vivid yellow. Relative luminance 0.617; OKLCH L 85.1% C 0.141 H 94.1°. Best body text is #000000 at 13.33:1 contrast (WCAG AA passes).

Color values

HEX#ECCC55
RGBrgb(236, 204, 85)
HSLhsl(47, 80%, 63%)
HSVhsv(47, 64%, 93%)
CMYKcmyk(0%, 13.6%, 64%, 7.5%)
CIE-LABlab(82.74, -1.93, 61.60)
CIE-LCHlch(82.74, 61.63, 91.80°)
OKLaboklab(85.06% -0.01 0.1402)
OKLCHoklch(85.06% 0.141 94.1)
XYZxyz(57.8273, 61.6775, 17.4516)
Luminance0.6167 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCC55 #5575EC
analogous
#EC8155 #ECCC55 #C0EC55
triadic
#ECCC55 #55ECCC #CC55EC
tetradic
#ECCC55 #55EC81 #5575EC #EC55C0
square
#ECCC55 #55EC81 #5575EC #EC55C0
split-complementary
#ECCC55 #55C0EC #8155EC
monochromatic
#B39114 #E6BB1E #ECCC55 #F2DD8C #F8EDC3

Accessibility & contrast

On white

1.57
#ECCC55 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.33
#ECCC55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCC55
13.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCC55#FFFFFF#000000##000000
##ECCC551.001.5713.3313.33
#FFFFFF1.571.0021.0021.00
#00000013.3321.001.001.00
##00000013.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C847
Deuteranopia (green-blind)
#E8D25B
Tritanopia (blue-blind)
#FEBDB3
Achromatopsia (no color)
#CECECE

Design tokens & code

CSS
--color: #eccc55;
/* rgb */ color: rgb(236, 204, 85);
/* oklch */ color: oklch(85.1% 0.141 94.1);
Tailwind
colors: {
  custom: {
    50: '#f6db8a',
    500: '#eccc55',
    950: '#000000',
  },
}
SCSS
$custom: #eccc55;
$custom-light: #f6db8a;
$custom-dark: #000000;
JSON
{
  "hex": "#eccc55",
  "rgb": {
    "r": 236,
    "g": 204,
    "b": 85
  },
  "hsl": {
    "h": 47.285,
    "s": 79.894,
    "l": 62.941
  },
  "oklch": {
    "l": 0.85063,
    "c": 0.14055,
    "h": 94.1
  },
  "luminance": 0.61674
}

Semantic roles & 50–950 ramp

primary
#ECCC55
secondary
#334EB3
accent
#36DC09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECCC55

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

Preview Lab → · Contrast checker → · Palette generator →

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