Skip to content

#a49621

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

RGB
164, 150, 33
HSL
54°, 67%, 39%
CMYK
0, 9, 80, 36
Luminance
0.2982

Every format

HEX#a49621
RGBrgb(164, 150, 33)
HSLhsl(54, 67%, 39%)
CMYKcmyk(0%, 9%, 80%, 36%)
LABlab(61.5 -7.4 58.4)
LCHlch(61.5 58.8 97.2)
OKLCHoklch(0.665 0.130 102.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a49621 on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#a49621 on black: 6.96:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.3%
Green58.8%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta8.5%
Yellow79.9%
Key (black)35.7%

Color previews

#a49621 text on a black background

contrast 6.96:1

Card sample

#a49621 text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(164, 150, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 150, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a49621;
background: linear-gradient(135deg, #a49621, #5BA421);

Monochromatic scale

Palettes built from #a49621

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a49621 in the Color Lab