Skip to content

#d2ac29

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

RGB
210, 172, 41
HSL
47°, 67%, 49%
CMYK
0, 18, 81, 18
Luminance
0.4337

Every format

HEX#d2ac29
RGBrgb(210, 172, 41)
HSLhsl(47, 67%, 49%)
CMYKcmyk(0%, 18%, 81%, 18%)
LABlab(71.8 1.6 66.7)
LCHlch(71.8 66.7 88.7)
OKLCHoklch(0.758 0.144 91.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#d2ac29 on white: 2.17:1
AA ✗ fail · AA-large · AAA
Aa
#d2ac29 on black: 9.67:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red82.4%
Green67.5%
Blue16.1%

CMYK percentages

Cyan0.0%
Magenta18.1%
Yellow80.5%
Key (black)17.6%

Color previews

#d2ac29 text on a black background

contrast 9.67:1

Card sample

#d2ac29 text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ac29

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ac29 in the Color Lab