#79aa21
a dark, vivid green · cool · closest name: olivedrab
RGB
121, 170, 33
HSL
82°, 68%, 40%
CMYK
29, 0, 81, 33
Luminance
0.3292
Every format
| HEX | #79aa21 |
| RGB | rgb(121, 170, 33) |
| HSL | hsl(82, 68%, 40%) |
| CMYK | cmyk(29%, 0%, 81%, 33%) |
| LAB | lab(64.1 -35.8 59.5) |
| LCH | lch(64.1 69.4 121.0) |
| OKLCH | oklch(0.678 0.166 128.2) |
Copy-ready code
/* CSS */
color: #79aa21;
background-color: #79aa21;
/* Tailwind (arbitrary) */
class="text-[#79aa21] bg-[#79aa21]"
/* SCSS */
$brand: #79aa21;
/* SwiftUI */
Color(red: 0.475, green: 0.667, blue: 0.129)
/* Android */
Color.parseColor("#79aa21")Accessibility — WCAG contrast
Aa
#79aa21 on white: 2.77:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#79aa21 on black: 7.58:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red47.5%
Green66.7%
Blue12.9%
CMYK percentages
Cyan28.8%
Magenta0.0%
Yellow80.6%
Key (black)33.3%
Color previews
#79aa21 text on a black background
contrast 7.58:1
Card sample
#79aa21 text on a white background
contrast 2.77:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #79aa21;
Background color
Panel with #79aa21 background
background-color: #79aa21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #79aa21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(121, 170, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(121, 170, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #79aa21; background: linear-gradient(135deg, #79aa21, #21AA24);