Skip to content

#a49c01

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

RGB
164, 156, 1
HSL
57°, 99%, 32%
CMYK
0, 5, 99, 36
Luminance
0.3167

Every format

HEX#a49c01
RGBrgb(164, 156, 1)
HSLhsl(57, 99%, 32%)
CMYKcmyk(0%, 5%, 99%, 36%)
LABlab(63.1 -11.3 66.1)
LCHlch(63.1 67.1 99.7)
OKLCHoklch(0.678 0.144 106.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a49c01 on white: 2.86:1
AA ✗ fail · AA-large · AAA
Aa
#a49c01 on black: 7.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red64.3%
Green61.2%
Blue0.4%

CMYK percentages

Cyan0.0%
Magenta4.9%
Yellow99.4%
Key (black)35.7%

Color previews

#a49c01 text on a black background

contrast 7.33:1

Card sample

#a49c01 text on a white background

contrast 2.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(164, 156, 1, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(164, 156, 1, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a49c01;
background: linear-gradient(135deg, #a49c01, #3FA401);

Monochromatic scale

Palettes built from #a49c01

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a49c01 in the Color Lab