Skip to content

#d2ad2c

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

RGB
210, 173, 44
HSL
47°, 65%, 50%
CMYK
0, 18, 79, 18
Luminance
0.4377

Every format

HEX#d2ad2c
RGBrgb(210, 173, 44)
HSLhsl(47, 65%, 50%)
CMYKcmyk(0%, 18%, 79%, 18%)
LABlab(72.1 1.1 66.0)
LCHlch(72.1 66.0 89.0)
OKLCHoklch(0.760 0.143 91.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2ad2c on white: 2.15:1
AA ✗ fail · AA-large · AAA
Aa
#d2ad2c on black: 9.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green67.8%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta17.6%
Yellow79.0%
Key (black)17.6%

Color previews

#d2ad2c text on a black background

contrast 9.75:1

Card sample

#d2ad2c text on a white background

contrast 2.15:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(210, 173, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(210, 173, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #d2ad2c;
background: linear-gradient(135deg, #d2ad2c, #88D22C);

Monochromatic scale

Palettes built from #d2ad2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ad2c in the Color Lab