Skip to content

#d2ccb2

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

RGB
210, 204, 178
HSL
49°, 26%, 76%
CMYK
0, 3, 15, 18
Luminance
0.6010

Every format

HEX#d2ccb2
RGBrgb(210, 204, 178)
HSLhsl(49, 26%, 76%)
CMYKcmyk(0%, 3%, 15%, 18%)
LABlab(81.9 -2.3 13.7)
LCHlch(81.9 13.9 99.4)
OKLCHoklch(0.843 0.036 96.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2ccb2 on white: 1.61:1
AA ✗ fail · AA-large · AAA
Aa
#d2ccb2 on black: 13.02:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green80.0%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta2.9%
Yellow15.2%
Key (black)17.6%

Color previews

#d2ccb2 text on a black background

contrast 13.02:1

Card sample

#d2ccb2 text on a white background

contrast 1.61:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ccb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ccb2 in the Color Lab