Skip to content

#dcdcb2

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

RGB
220, 220, 178
HSL
60°, 38%, 78%
CMYK
0, 0, 19, 14
Luminance
0.6962

Every format

HEX#dcdcb2
RGBrgb(220, 220, 178)
HSLhsl(60, 38%, 78%)
CMYKcmyk(0%, 0%, 19%, 14%)
LABlab(86.8 -6.9 20.7)
LCHlch(86.8 21.8 108.3)
OKLCHoklch(0.884 0.056 107.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#dcdcb2 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#dcdcb2 on black: 14.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red86.3%
Green86.3%
Blue69.8%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow19.1%
Key (black)13.7%

Color previews

#dcdcb2 text on a black background

contrast 14.92:1

Card sample

#dcdcb2 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #dcdcb2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #dcdcb2 in the Color Lab