Skip to content

#d2cfb6

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

RGB
210, 207, 182
HSL
54°, 24%, 77%
CMYK
0, 1, 13, 18
Luminance
0.6170

Every format

HEX#d2cfb6
RGBrgb(210, 207, 182)
HSLhsl(54, 24%, 77%)
CMYKcmyk(0%, 1%, 13%, 18%)
LABlab(82.8 -3.2 12.8)
LCHlch(82.8 13.2 104.1)
OKLCHoklch(0.850 0.034 101.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2cfb6 on white: 1.57:1
AA ✗ fail · AA-large · AAA
Aa
#d2cfb6 on black: 13.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green81.2%
Blue71.4%

CMYK percentages

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

Color previews

#d2cfb6 text on a black background

contrast 13.34:1

Card sample

#d2cfb6 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2cfb6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2cfb6 in the Color Lab