Skip to content

#d2d3af

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

RGB
210, 211, 175
HSL
62°, 29%, 76%
CMYK
1, 0, 17, 17
Luminance
0.6339

Every format

HEX#d2d3af
RGBrgb(210, 211, 175)
HSLhsl(62, 29%, 76%)
CMYKcmyk(1%, 0%, 17%, 17%)
LABlab(83.6 -6.4 17.8)
LCHlch(83.6 18.9 109.7)
OKLCHoklch(0.857 0.048 108.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2d3af on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#d2d3af on black: 13.68:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green82.7%
Blue68.6%

CMYK percentages

Cyan0.5%
Magenta0.0%
Yellow17.1%
Key (black)17.3%

Color previews

#d2d3af text on a black background

contrast 13.68:1

Card sample

#d2d3af text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2d3af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2d3af in the Color Lab