Skip to content

#d2bd5c

a balanced, vivid yellow · cool · closest name: khaki

RGB
210, 189, 92
HSL
49°, 57%, 59%
CMYK
0, 10, 56, 18
Luminance
0.5087

Every format

HEX#d2bd5c
RGBrgb(210, 189, 92)
HSLhsl(49, 57%, 59%)
CMYKcmyk(0%, 10%, 56%, 18%)
LABlab(76.6 -4.6 51.0)
LCHlch(76.6 51.1 95.1)
OKLCHoklch(0.797 0.120 97.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2bd5c on white: 1.88:1
AA ✗ fail · AA-large · AAA
Aa
#d2bd5c on black: 11.17:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green74.1%
Blue36.1%

CMYK percentages

Cyan0.0%
Magenta10.0%
Yellow56.2%
Key (black)17.6%

Color previews

#d2bd5c text on a black background

contrast 11.17:1

Card sample

#d2bd5c text on a white background

contrast 1.88:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 189, 92, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 189, 92, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2bd5c;
background: linear-gradient(135deg, #d2bd5c, #98D25C);

Monochromatic scale

Palettes built from #d2bd5c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2bd5c in the Color Lab