Skip to content

#d2ac2c

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

RGB
210, 172, 44
HSL
46°, 65%, 50%
CMYK
0, 18, 79, 18
Luminance
0.4339

Every format

HEX#d2ac2c
RGBrgb(210, 172, 44)
HSLhsl(46, 65%, 50%)
CMYKcmyk(0%, 18%, 79%, 18%)
LABlab(71.8 1.7 65.8)
LCHlch(71.8 65.8 88.6)
OKLCHoklch(0.758 0.143 91.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green67.5%
Blue17.3%

CMYK percentages

Cyan0.0%
Magenta18.1%
Yellow79.0%
Key (black)17.6%

Color previews

#d2ac2c text on a black background

contrast 9.68:1

Card sample

#d2ac2c text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ac2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ac2c in the Color Lab