#ECCC57#ECCC57

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

Color values

HEX#ECCC57
RGBrgb(236, 204, 87)
HSLhsl(47, 80%, 63%)
HSVhsv(47, 63%, 93%)
CMYKcmyk(0%, 13.6%, 63.1%, 7.5%)
CIE-LABlab(82.76, -1.81, 60.76)
CIE-LCHlch(82.76, 60.79, 91.71°)
OKLaboklab(85.08% -0.0095 0.1387)
OKLCHoklch(85.08% 0.139 93.9)
XYZxyz(57.9079, 61.7097, 17.8760)
Luminance0.6171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECCC57 #5777EC
analogous
#EC8157 #ECCC57 #C1EC57
triadic
#ECCC57 #57ECCC #CC57EC
tetradic
#ECCC57 #57EC81 #5777EC #EC57C1
square
#ECCC57 #57EC81 #5777EC #EC57C1
split-complementary
#ECCC57 #57C1EC #8157EC
monochromatic
#B49214 #E6BB20 #ECCC57 #F2DD8E #F8EDC5

Accessibility & contrast

On white

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

On black

13.34
#ECCC57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECCC57
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECCC57#FFFFFF#000000##000000
##ECCC571.001.5713.3413.34
#FFFFFF1.571.0021.0021.00
#00000013.3421.001.001.00
##00000013.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #eccc57;
/* rgb */ color: rgb(236, 204, 87);
/* oklch */ color: oklch(85.1% 0.139 93.9);
Tailwind
colors: {
  custom: {
    50: '#f6db8b',
    500: '#eccc57',
    950: '#000000',
  },
}
SCSS
$custom: #eccc57;
$custom-light: #f6db8b;
$custom-dark: #000000;
JSON
{
  "hex": "#eccc57",
  "rgb": {
    "r": 236,
    "g": 204,
    "b": 87
  },
  "hsl": {
    "h": 47.114,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.85082,
    "c": 0.13901,
    "h": 93.9
  },
  "luminance": 0.61707
}

Semantic roles & 50–950 ramp

primary
#ECCC57
secondary
#334FB4
accent
#37DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECCC57

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

Preview Lab → · Contrast checker → · Palette generator →

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