#70ac21
a dark, vivid green · cool · closest name: olivedrab
RGB
112, 172, 33
HSL
86°, 68%, 40%
CMYK
35, 0, 81, 33
Luminance
0.3306
Every format
| HEX | #70ac21 |
| RGB | rgb(112, 172, 33) |
| HSL | hsl(86, 68%, 40%) |
| CMYK | cmyk(35%, 0%, 81%, 33%) |
| LAB | lab(64.2 -40.1 59.4) |
| LCH | lch(64.2 71.7 124.0) |
| OKLCH | oklch(0.678 0.173 131.1) |
Copy-ready code
/* CSS */
color: #70ac21;
background-color: #70ac21;
/* Tailwind (arbitrary) */
class="text-[#70ac21] bg-[#70ac21]"
/* SCSS */
$brand: #70ac21;
/* SwiftUI */
Color(red: 0.439, green: 0.675, blue: 0.129)
/* Android */
Color.parseColor("#70ac21")Accessibility — WCAG contrast
Aa
#70ac21 on white: 2.76:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#70ac21 on black: 7.61:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red43.9%
Green67.5%
Blue12.9%
CMYK percentages
Cyan34.9%
Magenta0.0%
Yellow80.8%
Key (black)32.5%
Color previews
#70ac21 text on a black background
contrast 7.61:1
Card sample
#70ac21 text on a white background
contrast 2.76:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #70ac21;
Background color
Panel with #70ac21 background
background-color: #70ac21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #70ac21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(112, 172, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(112, 172, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #70ac21; background: linear-gradient(135deg, #70ac21, #21AC2F);