Skip to content

#a48021

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

RGB
164, 128, 33
HSL
44°, 67%, 39%
CMYK
0, 22, 80, 36
Luminance
0.2344

Every format

HEX#a48021
RGBrgb(164, 128, 33)
HSLhsl(44, 67%, 39%)
CMYKcmyk(0%, 22%, 80%, 36%)
LABlab(55.5 4.7 53.0)
LCHlch(55.5 53.2 85.0)
OKLCHoklch(0.618 0.115 86.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a48021 on white: 3.69:1
AA ✗ fail · AA-large · AAA
Aa
#a48021 on black: 5.69:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.3%
Green50.2%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta22.0%
Yellow79.9%
Key (black)35.7%

Color previews

#a48021 text on a black background

contrast 5.69:1

Card sample

#a48021 text on a white background

contrast 3.69:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a48021

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a48021 in the Color Lab