#aacc55
a balanced, vivid green · cool · closest name: olivedrab
RGB
170, 204, 85
HSL
77°, 54%, 57%
CMYK
17, 0, 58, 20
Luminance
0.5239
Every format
| HEX | #aacc55 |
| RGB | rgb(170, 204, 85) |
| HSL | hsl(77, 54%, 57%) |
| CMYK | cmyk(17%, 0%, 58%, 20%) |
| LAB | lab(77.5 -29.0 54.4) |
| LCH | lch(77.5 61.6 118.1) |
| OKLCH | oklch(0.796 0.151 123.2) |
Copy-ready code
/* CSS */
color: #aacc55;
background-color: #aacc55;
/* Tailwind (arbitrary) */
class="text-[#aacc55] bg-[#aacc55]"
/* SCSS */
$brand: #aacc55;
/* SwiftUI */
Color(red: 0.667, green: 0.800, blue: 0.333)
/* Android */
Color.parseColor("#aacc55")Accessibility — WCAG contrast
Aa
#aacc55 on white: 1.83:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#aacc55 on black: 11.48:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red66.7%
Green80.0%
Blue33.3%
CMYK percentages
Cyan16.7%
Magenta0.0%
Yellow58.3%
Key (black)20.0%
Color previews
#aacc55 text on a black background
contrast 11.48:1
Card sample
#aacc55 text on a white background
contrast 1.83:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #aacc55;
Background color
Panel with #aacc55 background
background-color: #aacc55;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #aacc55;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(170, 204, 85, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(170, 204, 85, 0.45);
Border & gradient
Gradient panel
border: 3px solid #aacc55; background: linear-gradient(135deg, #aacc55, #5BCC55);