#ECC857#ECC857

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

Color values

HEX#ECC857
RGBrgb(236, 200, 87)
HSLhsl(46, 80%, 63%)
HSVhsv(46, 63%, 93%)
CMYKcmyk(0%, 15.3%, 63.1%, 7.5%)
CIE-LABlab(81.75, 0.25, 59.66)
CIE-LCHlch(81.75, 59.66, 89.76°)
OKLaboklab(84.28% -0.0035 0.1363)
OKLCHoklch(84.28% 0.136 91.5)
XYZxyz(56.9694, 59.8327, 17.5631)
Luminance0.5983 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC857 #577BEC
analogous
#EC7D57 #ECC857 #C6EC57
triadic
#ECC857 #57ECC8 #C857EC
tetradic
#ECC857 #57EC7D #577BEC #EC57C6
square
#ECC857 #57EC7D #577BEC #EC57C6
split-complementary
#ECC857 #57C6EC #7D57EC
monochromatic
#B48E14 #E6B620 #ECC857 #F2DA8E #F8ECC5

Accessibility & contrast

On white

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

On black

12.97
#ECC857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC857
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC857#FFFFFF#000000##000000
##ECC8571.001.6212.9712.97
#FFFFFF1.621.0021.0021.00
#00000012.9721.001.001.00
##00000012.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecc857;
/* rgb */ color: rgb(236, 200, 87);
/* oklch */ color: oklch(84.3% 0.136 91.5);
Tailwind
colors: {
  custom: {
    50: '#f6d88b',
    500: '#ecc857',
    950: '#000000',
  },
}
SCSS
$custom: #ecc857;
$custom-light: #f6d88b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc857",
  "rgb": {
    "r": 236,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 45.503,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.84283,
    "c": 0.13639,
    "h": 91.5
  },
  "luminance": 0.5983
}

Semantic roles & 50–950 ramp

primary
#ECC857
secondary
#3352B4
accent
#3CDC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC857

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

Preview Lab → · Contrast checker → · Palette generator →

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