Skip to content

#d4cfb7

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

RGB
212, 207, 183
HSL
50°, 25%, 78%
CMYK
0, 2, 14, 17
Luminance
0.6204

Every format

HEX#d4cfb7
RGBrgb(212, 207, 183)
HSLhsl(50, 25%, 78%)
CMYKcmyk(0%, 2%, 14%, 17%)
LABlab(82.9 -2.3 12.6)
LCHlch(82.9 12.8 100.5)
OKLCHoklch(0.852 0.033 97.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red83.1%
Green81.2%
Blue71.8%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow13.7%
Key (black)16.9%

Color previews

#d4cfb7 text on a black background

contrast 13.41:1

Card sample

#d4cfb7 text on a white background

contrast 1.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4cfb7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4cfb7 in the Color Lab