Skip to content

#d4d4af

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

RGB
212, 212, 175
HSL
60°, 30%, 76%
CMYK
0, 0, 18, 17
Luminance
0.6418

Every format

HEX#d4d4af
RGBrgb(212, 212, 175)
HSLhsl(60, 30%, 76%)
CMYKcmyk(0%, 0%, 18%, 17%)
LABlab(84.1 -6.1 18.4)
LCHlch(84.1 19.4 108.5)
OKLCHoklch(0.860 0.049 107.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4d4af on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#d4d4af on black: 13.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green83.1%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta0.0%
Yellow17.5%
Key (black)16.9%

Color previews

#d4d4af text on a black background

contrast 13.84:1

Card sample

#d4d4af text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4d4af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4d4af in the Color Lab