Skip to content

#d0cfb2

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

RGB
208, 207, 178
HSL
58°, 24%, 76%
CMYK
0, 1, 14, 18
Luminance
0.6125

Every format

HEX#d0cfb2
RGBrgb(208, 207, 178)
HSLhsl(58, 24%, 76%)
CMYKcmyk(0%, 1%, 14%, 18%)
LABlab(82.5 -4.6 14.6)
LCHlch(82.5 15.3 107.4)
OKLCHoklch(0.848 0.039 105.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red81.6%
Green81.2%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta0.5%
Yellow14.4%
Key (black)18.4%

Color previews

#d0cfb2 text on a black background

contrast 13.25:1

Card sample

#d0cfb2 text on a white background

contrast 1.58:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d0cfb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d0cfb2 in the Color Lab