Skip to content

#a2ac4d

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

RGB
162, 172, 77
HSL
66°, 38%, 49%
CMYK
6, 0, 55, 33
Luminance
0.3772

Every format

HEX#a2ac4d
RGBrgb(162, 172, 77)
HSLhsl(66, 38%, 49%)
CMYKcmyk(6%, 0%, 55%, 33%)
LABlab(67.8 -17.1 46.9)
LCHlch(67.8 49.9 110.1)
OKLCHoklch(0.717 0.120 114.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#a2ac4d on white: 2.46:1
AA ✗ fail · AA-large · AAA
Aa
#a2ac4d on black: 8.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red63.5%
Green67.5%
Blue30.2%

CMYK percentages

Cyan5.8%
Magenta0.0%
Yellow55.2%
Key (black)32.5%

Color previews

#a2ac4d text on a black background

contrast 8.54:1

Card sample

#a2ac4d text on a white background

contrast 2.46:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #a2ac4d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #a2ac4d in the Color Lab