Skip to content

#a48f21

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

RGB
164, 143, 33
HSL
50°, 67%, 39%
CMYK
0, 13, 80, 36
Luminance
0.2765

Every format

HEX#a48f21
RGBrgb(164, 143, 33)
HSLhsl(50, 67%, 39%)
CMYKcmyk(0%, 13%, 80%, 36%)
LABlab(59.6 -3.6 56.6)
LCHlch(59.6 56.8 93.7)
OKLCHoklch(0.650 0.124 97.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a48f21 on white: 3.22:1
AA ✗ fail · AA-large · AAA
Aa
#a48f21 on black: 6.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.3%
Green56.1%
Blue12.9%

CMYK percentages

Cyan0.0%
Magenta12.8%
Yellow79.9%
Key (black)35.7%

Color previews

#a48f21 text on a black background

contrast 6.53:1

Card sample

#a48f21 text on a white background

contrast 3.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a48f21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a48f21 in the Color Lab