Skip to content

#d7d2af

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

RGB
215, 210, 175
HSL
53°, 33%, 77%
CMYK
0, 2, 19, 16
Luminance
0.6364

Every format

HEX#d7d2af
RGBrgb(215, 210, 175)
HSLhsl(53, 33%, 77%)
CMYKcmyk(0%, 2%, 19%, 16%)
LABlab(83.8 -4.0 18.0)
LCHlch(83.8 18.4 102.6)
OKLCHoklch(0.859 0.047 100.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d7d2af on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#d7d2af on black: 13.73:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red84.3%
Green82.4%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta2.3%
Yellow18.6%
Key (black)15.7%

Color previews

#d7d2af text on a black background

contrast 13.73:1

Card sample

#d7d2af text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d7d2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d7d2af in the Color Lab