Skip to content

#d2d6af

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

RGB
210, 214, 175
HSL
66°, 32%, 76%
CMYK
2, 0, 18, 16
Luminance
0.6489

Every format

HEX#d2d6af
RGBrgb(210, 214, 175)
HSLhsl(66, 32%, 76%)
CMYKcmyk(2%, 0%, 18%, 16%)
LABlab(84.4 -7.9 18.9)
LCHlch(84.4 20.4 112.7)
OKLCHoklch(0.863 0.052 112.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2d6af on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#d2d6af on black: 13.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green83.9%
Blue68.6%

CMYK percentages

Cyan1.9%
Magenta0.0%
Yellow18.2%
Key (black)16.1%

Color previews

#d2d6af text on a black background

contrast 13.98:1

Card sample

#d2d6af text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2d6af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2d6af in the Color Lab