#ECC171#ECC171

#ECC171 is a very light, moderate orange. Relative luminance 0.572; OKLCH L 83.2% C 0.110 H 81.8°. Best body text is #000000 at 12.43:1 contrast (WCAG AA passes).

Color values

HEX#ECC171
RGBrgb(236, 193, 113)
HSLhsl(39, 76%, 68%)
HSVhsv(39, 52%, 93%)
CMYKcmyk(0%, 18.2%, 52.1%, 7.5%)
CIE-LABlab(80.27, 5.80, 45.73)
CIE-LCHlch(80.27, 46.10, 82.78°)
OKLaboklab(83.21% 0.0157 0.1091)
OKLCHoklch(83.21% 0.11 81.8)
XYZxyz(56.6451, 57.1682, 23.6705)
Luminance0.5716 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#ECC171 #719CEC
analogous
#EC8371 #ECC171 #DAEC71
triadic
#ECC171 #71ECC1 #C171EC
tetradic
#ECC171 #71EC83 #719CEC #EC71DA
square
#ECC171 #71EC83 #719CEC #EC71DA
split-complementary
#ECC171 #71DAEC #8371EC
monochromatic
#C88B1B #E5A93B #ECC171 #F3D9A7 #FAF0DD

Accessibility & contrast

On white

1.69
#ECC171 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.43
#ECC171 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #ECC171
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##ECC171#FFFFFF#000000##000000
##ECC1711.001.6912.4312.43
#FFFFFF1.691.0021.0021.00
#00000012.4321.001.001.00
##00000012.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4C16A
Deuteranopia (green-blind)
#DECC73
Tritanopia (blue-blind)
#FDB4AE
Achromatopsia (no color)
#C7C7C7

Design tokens & code

CSS
--color: #ecc171;
/* rgb */ color: rgb(236, 193, 113);
/* oklch */ color: oklch(83.2% 0.110 81.8);
Tailwind
colors: {
  custom: {
    50: '#f5d39b',
    500: '#ecc171',
    950: '#000000',
  },
}
SCSS
$custom: #ecc171;
$custom-light: #f5d39b;
$custom-dark: #000000;
JSON
{
  "hex": "#ecc171",
  "rgb": {
    "r": 236,
    "g": 193,
    "b": 113
  },
  "hsl": {
    "h": 39.024,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.83213,
    "c": 0.11019,
    "h": 81.8
  },
  "luminance": 0.57165
}

Semantic roles & 50–950 ramp

primary
#ECC171
secondary
#3D6CC4
accent
#54D90D
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140E
muted
#85837F

Preview Lab

Preview with #ECC171

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

Preview Lab → · Contrast checker → · Palette generator →

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