Skip to content

#e4cfac

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

RGB
228, 207, 172
HSL
38°, 51%, 78%
CMYK
0, 9, 25, 11
Luminance
0.6410

Every format

HEX#e4cfac
RGBrgb(228, 207, 172)
HSLhsl(38, 51%, 78%)
CMYKcmyk(0%, 9%, 25%, 11%)
LABlab(84.0 1.9 20.1)
LCHlch(84.0 20.2 84.5)
OKLCHoklch(0.863 0.052 80.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red89.4%
Green81.2%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta9.2%
Yellow24.6%
Key (black)10.6%

Color previews

#e4cfac text on a black background

contrast 13.82:1

Card sample

#e4cfac text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4cfac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4cfac in the Color Lab