#ECCC59#ECCC59

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

Color values

HEX#ECCC59
RGBrgb(236, 204, 89)
HSLhsl(47, 79%, 64%)
HSVhsv(47, 62%, 93%)
CMYKcmyk(0%, 13.6%, 62.3%, 7.5%)
CIE-LABlab(82.78, -1.68, 59.91)
CIE-LCHlch(82.78, 59.93, 91.61°)
OKLaboklab(85.1% -0.0089 0.1372)
OKLCHoklch(85.1% 0.137 93.7)
XYZxyz(57.9908, 61.7428, 18.3123)
Luminance0.6174 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCC59 #5979EC
analogous
#EC8259 #ECCC59 #C2EC59
triadic
#ECCC59 #59ECCC #CC59EC
tetradic
#ECCC59 #59EC82 #5979EC #EC59C2
square
#ECCC59 #59EC82 #5979EC #EC59C2
split-complementary
#ECCC59 #59C2EC #8259EC
monochromatic
#B69315 #E6BB22 #ECCC59 #F2DD90 #F9EEC7

Accessibility & contrast

On white

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

On black

13.35
#ECCC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCC59
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCC59#FFFFFF#000000##000000
##ECCC591.001.5713.3513.35
#FFFFFF1.571.0021.0021.00
#00000013.3521.001.001.00
##00000013.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eccc59;
/* rgb */ color: rgb(236, 204, 89);
/* oklch */ color: oklch(85.1% 0.137 93.7);
Tailwind
colors: {
  custom: {
    50: '#f5db8c',
    500: '#eccc59',
    950: '#000000',
  },
}
SCSS
$custom: #eccc59;
$custom-light: #f5db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#eccc59",
  "rgb": {
    "r": 236,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 46.939,
    "s": 79.459,
    "l": 63.725
  },
  "oklch": {
    "l": 0.85102,
    "c": 0.13744,
    "h": 93.7
  },
  "luminance": 0.6174
}

Semantic roles & 50–950 ramp

primary
#ECCC59
secondary
#3450B5
accent
#37DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECCC59

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

Preview Lab → · Contrast checker → · Palette generator →

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