#a2ac78
a balanced, soft green · cool · closest name: tan
RGB
162, 172, 120
HSL
72°, 24%, 57%
CMYK
6, 0, 30, 33
Luminance
0.3854
Every format
| HEX | #a2ac78 |
| RGB | rgb(162, 172, 120) |
| HSL | hsl(72, 24%, 57%) |
| CMYK | cmyk(6%, 0%, 30%, 33%) |
| LAB | lab(68.4 -12.3 25.6) |
| LCH | lch(68.4 28.4 115.6) |
| OKLCH | oklch(0.723 0.072 117.1) |
Copy-ready code
/* CSS */
color: #a2ac78;
background-color: #a2ac78;
/* Tailwind (arbitrary) */
class="text-[#a2ac78] bg-[#a2ac78]"
/* SCSS */
$brand: #a2ac78;
/* SwiftUI */
Color(red: 0.635, green: 0.675, blue: 0.471)
/* Android */
Color.parseColor("#a2ac78")Accessibility — WCAG contrast
Aa
#a2ac78 on white: 2.41:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#a2ac78 on black: 8.71:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red63.5%
Green67.5%
Blue47.1%
CMYK percentages
Cyan5.8%
Magenta0.0%
Yellow30.2%
Key (black)32.5%
Color previews
#a2ac78 text on a black background
contrast 8.71:1
Card sample
#a2ac78 text on a white background
contrast 2.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #a2ac78;
Background color
Panel with #a2ac78 background
background-color: #a2ac78;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #a2ac78;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(162, 172, 120, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(162, 172, 120, 0.45);
Border & gradient
Gradient panel
border: 3px solid #a2ac78; background: linear-gradient(135deg, #a2ac78, #7FAC78);