Skip to content

#ecccab

a light, vivid orange · warm · closest name: tan

RGB
236, 204, 171
HSL
31°, 63%, 80%
CMYK
0, 14, 28, 8
Luminance
0.6396

Every format

HEX#ecccab
RGBrgb(236, 204, 171)
HSLhsl(31, 63%, 80%)
CMYKcmyk(0%, 14%, 28%, 8%)
LABlab(84.0 6.4 20.6)
LCHlch(84.0 21.6 72.8)
OKLCHoklch(0.864 0.057 67.8)

Copy-ready code

/* CSS */
color: #ecccab;
background-color: #ecccab;
/* Tailwind (arbitrary) */
class="text-[#ecccab] bg-[#ecccab]"
/* SCSS */
$brand: #ecccab;
/* SwiftUI */
Color(red: 0.925, green: 0.800, blue: 0.671)
/* Android */
Color.parseColor("#ecccab")

Accessibility — WCAG contrast

Aa
#ecccab on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#ecccab on black: 13.79:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green80.0%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta13.6%
Yellow27.5%
Key (black)7.5%

Color previews

#ecccab text on a black background

contrast 13.79:1

Card sample

#ecccab text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #ecccab;
Background color
Panel with #ecccab background
background-color: #ecccab;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #ecccab;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(236, 204, 171, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(236, 204, 171, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ecccab;
background: linear-gradient(135deg, #ecccab, #E1ECAB);

Monochromatic scale

Palettes built from #ecccab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecccab in the Color Lab