Skip to content

#a78721

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

RGB
167, 135, 33
HSL
46°, 67%, 39%
CMYK
0, 19, 80, 35
Luminance
0.2565

Every format

HEX#a78721
RGBrgb(167, 135, 33)
HSLhsl(46, 67%, 39%)
CMYKcmyk(0%, 19%, 80%, 35%)
LABlab(57.7 2.1 55.1)
LCHlch(57.7 55.1 87.8)
OKLCHoklch(0.636 0.119 90.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a78721 on white: 3.43:1
AA ✗ fail · AA-large · AAA
Aa
#a78721 on black: 6.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red65.5%
Green52.9%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta19.2%
Yellow80.2%
Key (black)34.5%

Color previews

#a78721 text on a black background

contrast 6.13:1

Card sample

#a78721 text on a white background

contrast 3.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(167, 135, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(167, 135, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a78721;
background: linear-gradient(135deg, #a78721, #6EA721);

Monochromatic scale

Palettes built from #a78721

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a78721 in the Color Lab