Skip to content

#d2d4af

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

RGB
210, 212, 175
HSL
63°, 30%, 76%
CMYK
1, 0, 18, 17
Luminance
0.6388

Every format

HEX#d2d4af
RGBrgb(210, 212, 175)
HSLhsl(63, 30%, 76%)
CMYKcmyk(1%, 0%, 18%, 17%)
LABlab(83.9 -6.9 18.1)
LCHlch(83.9 19.4 110.8)
OKLCHoklch(0.859 0.050 109.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2d4af on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#d2d4af on black: 13.78:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green83.1%
Blue68.6%

CMYK percentages

Cyan0.9%
Magenta0.0%
Yellow17.5%
Key (black)16.9%

Color previews

#d2d4af text on a black background

contrast 13.78:1

Card sample

#d2d4af text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2d4af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2d4af in the Color Lab