Skip to content

#a49a21

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

RGB
164, 154, 33
HSL
55°, 67%, 39%
CMYK
0, 6, 80, 36
Luminance
0.3111

Every format

HEX#a49a21
RGBrgb(164, 154, 33)
HSLhsl(55, 67%, 39%)
CMYKcmyk(0%, 6%, 80%, 36%)
LABlab(62.6 -9.6 59.4)
LCHlch(62.6 60.1 99.1)
OKLCHoklch(0.674 0.133 104.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red64.3%
Green60.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta6.1%
Yellow79.9%
Key (black)35.7%

Color previews

#a49a21 text on a black background

contrast 7.22:1

Card sample

#a49a21 text on a white background

contrast 2.91:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a49a21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a49a21 in the Color Lab