Skip to content

#ad9b21

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

RGB
173, 155, 33
HSL
52°, 68%, 40%
CMYK
0, 10, 81, 32
Luminance
0.3244

Every format

HEX#ad9b21
RGBrgb(173, 155, 33)
HSLhsl(52, 68%, 40%)
CMYKcmyk(0%, 10%, 81%, 32%)
LABlab(63.7 -6.0 60.6)
LCHlch(63.7 60.9 95.7)
OKLCHoklch(0.685 0.133 100.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ad9b21 on white: 2.80:1
AA ✗ fail · AA-large · AAA
Aa
#ad9b21 on black: 7.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red67.8%
Green60.8%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta10.4%
Yellow80.9%
Key (black)32.2%

Color previews

#ad9b21 text on a black background

contrast 7.49:1

Card sample

#ad9b21 text on a white background

contrast 2.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad9b21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad9b21 in the Color Lab