Skip to content

#a2ac9f

a balanced, muted gray · cool · closest name: silver

RGB
162, 172, 159
HSL
106°, 7%, 65%
CMYK
6, 0, 8, 33
Luminance
0.3969

Every format

HEX#a2ac9f
RGBrgb(162, 172, 159)
HSLhsl(106, 7%, 65%)
CMYKcmyk(6%, 0%, 8%, 33%)
LABlab(69.3 -6.0 5.5)
LCHlch(69.3 8.1 137.5)
OKLCHoklch(0.733 0.022 138.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2ac9f on white: 2.35:1
AA ✗ fail · AA-large · AAA
Aa
#a2ac9f on black: 8.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green67.5%
Blue62.4%

CMYK percentages

Cyan5.8%
Magenta0.0%
Yellow7.6%
Key (black)32.5%

Color previews

#a2ac9f text on a black background

contrast 8.94:1

Card sample

#a2ac9f text on a white background

contrast 2.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(162, 172, 159, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 172, 159, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2ac9f;
background: linear-gradient(135deg, #a2ac9f, #9FACA5);

Monochromatic scale

Palettes built from #a2ac9f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2ac9f in the Color Lab