#ECC166#ECC166

#ECC166 is a very light, vivid orange. Relative luminance 0.569; OKLCH L 83.1% C 0.120 H 84.3°. Best body text is #000000 at 12.39:1 contrast (WCAG AA passes).

Color values

HEX#ECC166
RGBrgb(236, 193, 102)
HSLhsl(41, 78%, 66%)
HSVhsv(41, 57%, 93%)
CMYKcmyk(0%, 18.2%, 56.8%, 7.5%)
CIE-LABlab(80.14, 4.91, 50.94)
CIE-LCHlch(80.14, 51.18, 84.49°)
OKLaboklab(83.07% 0.0118 0.1195)
OKLCHoklch(83.07% 0.12 84.3)
XYZxyz(56.0629, 56.9353, 20.6045)
Luminance0.5693 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC166 #6691EC
analogous
#EC7E66 #ECC166 #D4EC66
triadic
#ECC166 #66ECC1 #C166EC
tetradic
#ECC166 #66EC7E #6691EC #EC66D4
square
#ECC166 #66EC7E #6691EC #EC66D4
split-complementary
#ECC166 #66D4EC #7E66EC
monochromatic
#C08A18 #E5AB30 #ECC166 #F3D79C #FAEDD3

Accessibility & contrast

On white

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

On black

12.39
#ECC166 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC166
12.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC166#FFFFFF#000000##000000
##ECC1661.001.7012.3912.39
#FFFFFF1.701.0021.0021.00
#00000012.3921.001.001.00
##00000012.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C05E
Deuteranopia (green-blind)
#DFCB69
Tritanopia (blue-blind)
#FEB3AC
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ecc166;
/* rgb */ color: rgb(236, 193, 102);
/* oklch */ color: oklch(83.1% 0.120 84.3);
Tailwind
colors: {
  custom: {
    50: '#f5d394',
    500: '#ecc166',
    950: '#000000',
  },
}
SCSS
$custom: #ecc166;
$custom-light: #f5d394;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc166",
  "rgb": {
    "r": 236,
    "g": 193,
    "b": 102
  },
  "hsl": {
    "h": 40.746,
    "s": 77.907,
    "l": 66.275
  },
  "oklch": {
    "l": 0.83068,
    "c": 0.12005,
    "h": 84.3
  },
  "luminance": 0.56932
}

Semantic roles & 50–950 ramp

primary
#ECC166
secondary
#3863BE
accent
#4EDA0B
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#17140D
muted
#85837F

Preview Lab

Preview with #ECC166

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

Preview Lab → · Contrast checker → · Palette generator →

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