Skip to content

#ad9b2f

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

RGB
173, 155, 47
HSL
51°, 57%, 43%
CMYK
0, 10, 73, 32
Luminance
0.3253

Every format

HEX#ad9b2f
RGBrgb(173, 155, 47)
HSLhsl(51, 57%, 43%)
CMYKcmyk(0%, 10%, 73%, 32%)
LABlab(63.8 -5.5 55.9)
LCHlch(63.8 56.1 95.6)
OKLCHoklch(0.686 0.126 99.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red67.8%
Green60.8%
Blue18.4%

CMYK percentages

Cyan0.0%
Magenta10.4%
Yellow72.8%
Key (black)32.2%

Color previews

#ad9b2f text on a black background

contrast 7.51:1

Card sample

#ad9b2f text on a white background

contrast 2.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ad9b2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ad9b2f in the Color Lab