#70aa21
a dark, vivid green · cool · closest name: olivedrab
RGB
112, 170, 33
HSL
85°, 68%, 40%
CMYK
34, 0, 81, 33
Luminance
0.3230
Every format
| HEX | #70aa21 |
| RGB | rgb(112, 170, 33) |
| HSL | hsl(85, 68%, 40%) |
| CMYK | cmyk(34%, 0%, 81%, 33%) |
| LAB | lab(63.6 -39.2 58.9) |
| LCH | lch(63.6 70.7 123.7) |
| OKLCH | oklch(0.673 0.171 130.8) |
Copy-ready code
/* CSS */
color: #70aa21;
background-color: #70aa21;
/* Tailwind (arbitrary) */
class="text-[#70aa21] bg-[#70aa21]"
/* SCSS */
$brand: #70aa21;
/* SwiftUI */
Color(red: 0.439, green: 0.667, blue: 0.129)
/* Android */
Color.parseColor("#70aa21")Accessibility — WCAG contrast
Aa
#70aa21 on white: 2.81:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#70aa21 on black: 7.46:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red43.9%
Green66.7%
Blue12.9%
CMYK percentages
Cyan34.1%
Magenta0.0%
Yellow80.6%
Key (black)33.3%
Color previews
#70aa21 text on a black background
contrast 7.46:1
Card sample
#70aa21 text on a white background
contrast 2.81:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #70aa21;
Background color
Panel with #70aa21 background
background-color: #70aa21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #70aa21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(112, 170, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(112, 170, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #70aa21; background: linear-gradient(135deg, #70aa21, #21AA2D);