Skip to content

#d2d1ac

a light, soft yellow · cool · closest name: beige

RGB
210, 209, 172
HSL
58°, 30%, 75%
CMYK
0, 1, 18, 18
Luminance
0.6228

Every format

HEX#d2d1ac
RGBrgb(210, 209, 172)
HSLhsl(58, 30%, 75%)
CMYKcmyk(0%, 1%, 18%, 18%)
LABlab(83.1 -5.8 18.5)
LCHlch(83.1 19.4 107.3)
OKLCHoklch(0.852 0.050 106.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2d1ac on white: 1.56:1
AA ✗ fail · AA-large · AAA
Aa
#d2d1ac on black: 13.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green82.0%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta0.5%
Yellow18.1%
Key (black)17.6%

Color previews

#d2d1ac text on a black background

contrast 13.46:1

Card sample

#d2d1ac text on a white background

contrast 1.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2d1ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2d1ac in the Color Lab