Skip to content

#d6d2af

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

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

Every format

HEX#d6d2af
RGBrgb(214, 210, 175)
HSLhsl(54, 32%, 76%)
CMYKcmyk(0%, 2%, 18%, 16%)
LABlab(83.7 -4.4 17.9)
LCHlch(83.7 18.4 103.8)
OKLCHoklch(0.858 0.047 101.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.9%
Green82.4%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta1.9%
Yellow18.2%
Key (black)16.1%

Color previews

#d6d2af text on a black background

contrast 13.70:1

Card sample

#d6d2af text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d6d2af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d6d2af in the Color Lab