Skip to content

#a59921

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

RGB
165, 153, 33
HSL
55°, 67%, 39%
CMYK
0, 7, 80, 35
Luminance
0.3089

Every format

HEX#a59921
RGBrgb(165, 153, 33)
HSLhsl(55, 67%, 39%)
CMYKcmyk(0%, 7%, 80%, 35%)
LABlab(62.4 -8.6 59.2)
LCHlch(62.4 59.8 98.2)
OKLCHoklch(0.673 0.132 103.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a59921 on white: 2.93:1
AA ✗ fail · AA-large · AAA
Aa
#a59921 on black: 7.18:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.7%
Green60.0%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta7.3%
Yellow80.0%
Key (black)35.3%

Color previews

#a59921 text on a black background

contrast 7.18:1

Card sample

#a59921 text on a white background

contrast 2.93:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(165, 153, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(165, 153, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a59921;
background: linear-gradient(135deg, #a59921, #59A521);

Monochromatic scale

Palettes built from #a59921

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a59921 in the Color Lab