#ECC158#ECC158

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

Color values

HEX#ECC158
RGBrgb(236, 193, 88)
HSLhsl(43, 80%, 64%)
HSVhsv(43, 63%, 93%)
CMYKcmyk(0%, 18.2%, 62.7%, 7.5%)
CIE-LABlab(80.00, 3.94, 57.29)
CIE-LCHlch(80.00, 57.43, 86.07°)
OKLaboklab(82.91% 0.0073 0.1314)
OKLCHoklch(82.91% 0.132 86.8)
XYZxyz(55.4263, 56.6807, 17.2517)
Luminance0.5668 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC158 #5883EC
analogous
#EC7758 #ECC158 #CDEC58
triadic
#ECC158 #58ECC1 #C158EC
tetradic
#ECC158 #58EC77 #5883EC #EC58CD
square
#ECC158 #58EC77 #5883EC #EC58CD
split-complementary
#ECC158 #58CDEC #7758EC
monochromatic
#B58615 #E6AD21 #ECC158 #F2D58F #F9EAC6

Accessibility & contrast

On white

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

On black

12.34
#ECC158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC158
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC158#FFFFFF#000000##000000
##ECC1581.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ecc158;
/* rgb */ color: rgb(236, 193, 88);
/* oklch */ color: oklch(82.9% 0.132 86.8);
Tailwind
colors: {
  custom: {
    50: '#f6d38b',
    500: '#ecc158',
    950: '#000000',
  },
}
SCSS
$custom: #ecc158;
$custom-light: #f6d38b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc158",
  "rgb": {
    "r": 236,
    "g": 193,
    "b": 88
  },
  "hsl": {
    "h": 42.568,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.82909,
    "c": 0.13164,
    "h": 86.8
  },
  "luminance": 0.56677
}

Semantic roles & 50–950 ramp

primary
#ECC158
secondary
#3359B5
accent
#47DC0A
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140C
muted
#86837F

Preview Lab

Preview with #ECC158

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

Preview Lab → · Contrast checker → · Palette generator →

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