#ECC157#ECC157

#ECC157 is a very light, vivid orange. Relative luminance 0.567; OKLCH L 82.9% C 0.132 H 87.0°. Best body text is #000000 at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#ECC157
RGBrgb(236, 193, 87)
HSLhsl(43, 80%, 63%)
HSVhsv(43, 63%, 93%)
CMYKcmyk(0%, 18.2%, 63.1%, 7.5%)
CIE-LABlab(79.99, 3.88, 57.73)
CIE-LCHlch(79.99, 57.86, 86.16°)
OKLaboklab(82.9% 0.007 0.1322)
OKLCHoklch(82.9% 0.132 87)
XYZxyz(55.3852, 56.6642, 17.0351)
Luminance0.5666 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC157 #5782EC
analogous
#EC7657 #ECC157 #CCEC57
triadic
#ECC157 #57ECC1 #C157EC
tetradic
#ECC157 #57EC76 #5782EC #EC57CC
square
#ECC157 #57EC76 #5782EC #EC57CC
split-complementary
#ECC157 #57CCEC #7657EC
monochromatic
#B48614 #E6AD20 #ECC157 #F2D58E #F8EAC5

Accessibility & contrast

On white

1.70
#ECC157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.33
#ECC157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC157
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC157#FFFFFF#000000##000000
##ECC1571.001.7012.3312.33
#FFFFFF1.701.0021.0021.00
#00000012.3321.001.001.00
##00000012.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C04C
Deuteranopia (green-blind)
#E0CB5B
Tritanopia (blue-blind)
#FEB2AA
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #ecc157;
/* rgb */ color: rgb(236, 193, 87);
/* oklch */ color: oklch(82.9% 0.132 87.0);
Tailwind
colors: {
  custom: {
    50: '#f6d38a',
    500: '#ecc157',
    950: '#000000',
  },
}
SCSS
$custom: #ecc157;
$custom-light: #f6d38a;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc157",
  "rgb": {
    "r": 236,
    "g": 193,
    "b": 87
  },
  "hsl": {
    "h": 42.685,
    "s": 79.679,
    "l": 63.333
  },
  "oklch": {
    "l": 0.82899,
    "c": 0.13242,
    "h": 87
  },
  "luminance": 0.56661
}

Semantic roles & 50–950 ramp

primary
#ECC157
secondary
#3358B4
accent
#46DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC157

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

Preview Lab → · Contrast checker → · Palette generator →

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