Skip to content

#d2cfb4

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

RGB
210, 207, 180
HSL
54°, 25%, 77%
CMYK
0, 1, 14, 18
Luminance
0.6162

Every format

HEX#d2cfb4
RGBrgb(210, 207, 180)
HSLhsl(54, 25%, 77%)
CMYKcmyk(0%, 1%, 14%, 18%)
LABlab(82.7 -3.5 13.8)
LCHlch(82.7 14.3 104.3)
OKLCHoklch(0.850 0.036 101.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green81.2%
Blue70.6%

CMYK percentages

Cyan0.0%
Magenta1.4%
Yellow14.3%
Key (black)17.6%

Color previews

#d2cfb4 text on a black background

contrast 13.32:1

Card sample

#d2cfb4 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cfb4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cfb4 in the Color Lab