Skip to content

#ecccac

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

RGB
236, 204, 172
HSL
30°, 63%, 80%
CMYK
0, 14, 27, 8
Luminance
0.6400

Every format

HEX#ecccac
RGBrgb(236, 204, 172)
HSLhsl(30, 63%, 80%)
CMYKcmyk(0%, 14%, 27%, 8%)
LABlab(84.0 6.5 20.1)
LCHlch(84.0 21.1 72.0)
OKLCHoklch(0.864 0.056 67.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#ecccac text on a black background

contrast 13.80:1

Card sample

#ecccac text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecccac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecccac in the Color Lab