Skip to content

#a2ac6e

a balanced, soft yellow · cool · closest name: tan

RGB
162, 172, 110
HSL
70°, 27%, 55%
CMYK
6, 0, 36, 33
Luminance
0.3831

Every format

HEX#a2ac6e
RGBrgb(162, 172, 110)
HSLhsl(70, 27%, 55%)
CMYKcmyk(6%, 0%, 36%, 33%)
LABlab(68.3 -13.6 30.8)
LCHlch(68.3 33.6 113.9)
OKLCHoklch(0.722 0.084 116.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2ac6e on white: 2.42:1
AA ✗ fail · AA-large · AAA
Aa
#a2ac6e on black: 8.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green67.5%
Blue43.1%

CMYK percentages

Cyan5.8%
Magenta0.0%
Yellow36.0%
Key (black)32.5%

Color previews

#a2ac6e text on a black background

contrast 8.66:1

Card sample

#a2ac6e text on a white background

contrast 2.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2ac6e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2ac6e in the Color Lab