Skip to content

#e2d2ac

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

RGB
226, 210, 172
HSL
42°, 48%, 78%
CMYK
0, 7, 24, 11
Luminance
0.6524

Every format

HEX#e2d2ac
RGBrgb(226, 210, 172)
HSLhsl(42, 48%, 78%)
CMYKcmyk(0%, 7%, 24%, 11%)
LABlab(84.6 -0.4 20.9)
LCHlch(84.6 20.9 91.0)
OKLCHoklch(0.867 0.053 87.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2d2ac on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#e2d2ac on black: 14.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green82.4%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta7.1%
Yellow23.9%
Key (black)11.4%

Color previews

#e2d2ac text on a black background

contrast 14.05:1

Card sample

#e2d2ac text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2d2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2d2ac in the Color Lab