#ECC856#ECC856

#ECC856 is a very light, vivid yellow. Relative luminance 0.598; OKLCH L 84.3% C 0.137 H 91.6°. Best body text is #000000 at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#ECC856
RGBrgb(236, 200, 86)
HSLhsl(46, 80%, 63%)
HSVhsv(46, 64%, 93%)
CMYKcmyk(0%, 15.3%, 63.6%, 7.5%)
CIE-LABlab(81.74, 0.19, 60.09)
CIE-LCHlch(81.74, 60.09, 89.82°)
OKLaboklab(84.27% -0.0038 0.1371)
OKLCHoklch(84.27% 0.137 91.6)
XYZxyz(56.9288, 59.8164, 17.3495)
Luminance0.5981 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC856 #567AEC
analogous
#EC7D56 #ECC856 #C5EC56
triadic
#ECC856 #56ECC8 #C856EC
tetradic
#ECC856 #56EC7D #567AEC #EC56C5
square
#ECC856 #56EC7D #567AEC #EC56C5
split-complementary
#ECC856 #56C5EC #7D56EC
monochromatic
#B38D14 #E6B61F #ECC856 #F2DA8D #F8ECC4

Accessibility & contrast

On white

1.62
#ECC856 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.96
#ECC856 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC856
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC856#FFFFFF#000000##000000
##ECC8561.001.6212.9612.96
#FFFFFF1.621.0021.0021.00
#00000012.9621.001.001.00
##00000012.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC549
Deuteranopia (green-blind)
#E5D05B
Tritanopia (blue-blind)
#FEB9B0
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #ecc856;
/* rgb */ color: rgb(236, 200, 86);
/* oklch */ color: oklch(84.3% 0.137 91.6);
Tailwind
colors: {
  custom: {
    50: '#f6d88a',
    500: '#ecc856',
    950: '#000000',
  },
}
SCSS
$custom: #ecc856;
$custom-light: #f6d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc856",
  "rgb": {
    "r": 236,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 45.6,
    "s": 79.787,
    "l": 63.137
  },
  "oklch": {
    "l": 0.84274,
    "c": 0.13716,
    "h": 91.6
  },
  "luminance": 0.59813
}

Semantic roles & 50–950 ramp

primary
#ECC856
secondary
#3352B3
accent
#3CDC09
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC856

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

Preview Lab → · Contrast checker → · Palette generator →

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