#8aa173
a balanced, soft green · cool · closest name: tan
RGB
138, 161, 115
HSL
90°, 20%, 54%
CMYK
14, 0, 29, 37
Luminance
0.3213
Every format
| HEX | #8aa173 |
| RGB | rgb(138, 161, 115) |
| HSL | hsl(90, 20%, 54%) |
| CMYK | cmyk(14%, 0%, 29%, 37%) |
| LAB | lab(63.5 -16.6 21.4) |
| LCH | lch(63.5 27.0 127.8) |
| OKLCH | oklch(0.679 0.070 129.7) |
Copy-ready code
/* CSS */
color: #8aa173;
background-color: #8aa173;
/* Tailwind (arbitrary) */
class="text-[#8aa173] bg-[#8aa173]"
/* SCSS */
$brand: #8aa173;
/* SwiftUI */
Color(red: 0.541, green: 0.631, blue: 0.451)
/* Android */
Color.parseColor("#8aa173")Accessibility — WCAG contrast
Aa
#8aa173 on white: 2.83:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8aa173 on black: 7.43:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.1%
Green63.1%
Blue45.1%
CMYK percentages
Cyan14.3%
Magenta0.0%
Yellow28.6%
Key (black)36.9%
Color previews
#8aa173 text on a black background
contrast 7.43:1
Card sample
#8aa173 text on a white background
contrast 2.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8aa173;
Background color
Panel with #8aa173 background
background-color: #8aa173;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8aa173;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(138, 161, 115, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 161, 115, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8aa173; background: linear-gradient(135deg, #8aa173, #73A17B);