Skip to content

#d2cfb2

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

RGB
210, 207, 178
HSL
54°, 26%, 76%
CMYK
0, 1, 15, 18
Luminance
0.6154

Every format

HEX#d2cfb2
RGBrgb(210, 207, 178)
HSLhsl(54, 26%, 76%)
CMYKcmyk(0%, 1%, 15%, 18%)
LABlab(82.7 -3.8 14.8)
LCHlch(82.7 15.3 104.5)
OKLCHoklch(0.849 0.039 102.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2cfb2 on white: 1.58:1
AA ✗ fail · AA-large · AAA
Aa
#d2cfb2 on black: 13.31:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green81.2%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta1.4%
Yellow15.2%
Key (black)17.6%

Color previews

#d2cfb2 text on a black background

contrast 13.31:1

Card sample

#d2cfb2 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cfb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cfb2 in the Color Lab