Skip to content

#d4d3af

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

RGB
212, 211, 175
HSL
58°, 30%, 76%
CMYK
0, 1, 18, 17
Luminance
0.6368

Every format

HEX#d4d3af
RGBrgb(212, 211, 175)
HSLhsl(58, 30%, 76%)
CMYKcmyk(0%, 1%, 18%, 17%)
LABlab(83.8 -5.6 18.0)
LCHlch(83.8 18.9 107.4)
OKLCHoklch(0.858 0.048 106.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d4d3af on white: 1.53:1
AA ✗ fail · AA-large · AAA
Aa
#d4d3af on black: 13.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red83.1%
Green82.7%
Blue68.6%

CMYK percentages

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

Color previews

#d4d3af text on a black background

contrast 13.74:1

Card sample

#d4d3af text on a white background

contrast 1.53:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d4d3af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d4d3af in the Color Lab