Skip to content

#d1d2ac

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

RGB
209, 210, 172
HSL
62°, 30%, 75%
CMYK
1, 0, 18, 18
Luminance
0.6263

Every format

HEX#d1d2ac
RGBrgb(209, 210, 172)
HSLhsl(62, 30%, 75%)
CMYKcmyk(1%, 0%, 18%, 18%)
LABlab(83.3 -6.7 18.8)
LCHlch(83.3 19.9 109.5)
OKLCHoklch(0.853 0.051 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d1d2ac on white: 1.55:1
AA ✗ fail · AA-large · AAA
Aa
#d1d2ac on black: 13.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

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

CMYK percentages

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

Color previews

#d1d2ac text on a black background

contrast 13.53:1

Card sample

#d1d2ac text on a white background

contrast 1.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d1d2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d1d2ac in the Color Lab