Skip to content

#a39a21

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

RGB
163, 154, 33
HSL
56°, 66%, 38%
CMYK
0, 6, 80, 36
Luminance
0.3101

Every format

HEX#a39a21
RGBrgb(163, 154, 33)
HSLhsl(56, 66%, 38%)
CMYKcmyk(0%, 6%, 80%, 36%)
LABlab(62.5 -10.0 59.2)
LCHlch(62.5 60.1 99.6)
OKLCHoklch(0.673 0.133 104.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a39a21 on white: 2.92:1
AA ✗ fail · AA-large · AAA
Aa
#a39a21 on black: 7.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.9%
Green60.4%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta5.5%
Yellow79.8%
Key (black)36.1%

Color previews

#a39a21 text on a black background

contrast 7.20:1

Card sample

#a39a21 text on a white background

contrast 2.92:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a39a21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a39a21 in the Color Lab