Skip to content

#e2d3af

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

RGB
226, 211, 175
HSL
42°, 47%, 79%
CMYK
0, 7, 23, 11
Luminance
0.6585

Every format

HEX#e2d3af
RGBrgb(226, 211, 175)
HSLhsl(42, 47%, 79%)
CMYKcmyk(0%, 7%, 23%, 11%)
LABlab(84.9 -0.5 19.7)
LCHlch(84.9 19.7 91.3)
OKLCHoklch(0.870 0.051 88.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#e2d3af on white: 1.48:1
AA ✗ fail · AA-large · AAA
Aa
#e2d3af on black: 14.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red88.6%
Green82.7%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta6.6%
Yellow22.6%
Key (black)11.4%

Color previews

#e2d3af text on a black background

contrast 14.17:1

Card sample

#e2d3af text on a white background

contrast 1.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #e2d3af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #e2d3af in the Color Lab