Skip to content

#e4d2ab

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

RGB
228, 210, 171
HSL
41°, 51%, 78%
CMYK
0, 8, 25, 11
Luminance
0.6553

Every format

HEX#e4d2ab
RGBrgb(228, 210, 171)
HSLhsl(41, 51%, 78%)
CMYKcmyk(0%, 8%, 25%, 11%)
LABlab(84.8 0.3 21.6)
LCHlch(84.8 21.6 89.3)
OKLCHoklch(0.869 0.055 86.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red89.4%
Green82.4%
Blue67.1%

CMYK percentages

Cyan0.0%
Magenta7.9%
Yellow25.0%
Key (black)10.6%

Color previews

#e4d2ab text on a black background

contrast 14.11:1

Card sample

#e4d2ab text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e4d2ab

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e4d2ab in the Color Lab