Skip to content

#ad9721

a dark, vivid yellow · cool · closest name: olive

RGB
173, 151, 33
HSL
51°, 68%, 40%
CMYK
0, 13, 81, 32
Luminance
0.3113

Every format

HEX#ad9721
RGBrgb(173, 151, 33)
HSLhsl(51, 68%, 40%)
CMYKcmyk(0%, 13%, 81%, 32%)
LABlab(62.6 -3.9 59.7)
LCHlch(62.6 59.8 93.7)
OKLCHoklch(0.676 0.130 97.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad9721 on white: 2.91:1
AA ✗ fail · AA-large · AAA
Aa
#ad9721 on black: 7.23:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green59.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta12.7%
Yellow80.9%
Key (black)32.2%

Color previews

#ad9721 text on a black background

contrast 7.23:1

Card sample

#ad9721 text on a white background

contrast 2.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(173, 151, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(173, 151, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #ad9721;
background: linear-gradient(135deg, #ad9721, #66AD21);

Monochromatic scale

Palettes built from #ad9721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad9721 in the Color Lab