Skip to content

#d2ac2b

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

RGB
210, 172, 43
HSL
46°, 66%, 50%
CMYK
0, 18, 80, 18
Luminance
0.4338

Every format

HEX#d2ac2b
RGBrgb(210, 172, 43)
HSLhsl(46, 66%, 50%)
CMYKcmyk(0%, 18%, 80%, 18%)
LABlab(71.8 1.6 66.1)
LCHlch(71.8 66.1 88.6)
OKLCHoklch(0.758 0.143 91.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red82.4%
Green67.5%
Blue16.9%

CMYK percentages

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

Color previews

#d2ac2b text on a black background

contrast 9.68:1

Card sample

#d2ac2b text on a white background

contrast 2.17:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #d2ac2b

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #d2ac2b in the Color Lab