Skip to content

#d4d2ac

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

RGB
212, 210, 172
HSL
57°, 32%, 75%
CMYK
0, 1, 19, 17
Luminance
0.6307

Every format

HEX#d4d2ac
RGBrgb(212, 210, 172)
HSLhsl(57, 32%, 75%)
CMYKcmyk(0%, 1%, 19%, 17%)
LABlab(83.5 -5.6 19.1)
LCHlch(83.5 19.9 106.2)
OKLCHoklch(0.856 0.051 104.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4d2ac on white: 1.54:1
AA ✗ fail · AA-large · AAA
Aa
#d4d2ac on black: 13.61:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green82.4%
Blue67.5%

CMYK percentages

Cyan0.0%
Magenta0.9%
Yellow18.9%
Key (black)16.9%

Color previews

#d4d2ac text on a black background

contrast 13.61:1

Card sample

#d4d2ac text on a white background

contrast 1.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4d2ac

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4d2ac in the Color Lab