#79b821
a dark, vivid green · cool · closest name: olivedrab
RGB
121, 184, 33
HSL
85°, 70%, 43%
CMYK
34, 0, 82, 28
Luminance
0.3846
Every format
| HEX | #79b821 |
| RGB | rgb(121, 184, 33) |
| HSL | hsl(85, 70%, 43%) |
| CMYK | cmyk(34%, 0%, 82%, 28%) |
| LAB | lab(68.3 -42.0 63.4) |
| LCH | lch(68.3 76.0 123.5) |
| OKLCH | oklch(0.713 0.183 130.8) |
Copy-ready code
/* CSS */
color: #79b821;
background-color: #79b821;
/* Tailwind (arbitrary) */
class="text-[#79b821] bg-[#79b821]"
/* SCSS */
$brand: #79b821;
/* SwiftUI */
Color(red: 0.475, green: 0.722, blue: 0.129)
/* Android */
Color.parseColor("#79b821")Accessibility — WCAG contrast
Aa
#79b821 on white: 2.42:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#79b821 on black: 8.69:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red47.5%
Green72.2%
Blue12.9%
CMYK percentages
Cyan34.2%
Magenta0.0%
Yellow82.1%
Key (black)27.8%
Color previews
#79b821 text on a black background
contrast 8.69:1
Card sample
#79b821 text on a white background
contrast 2.42:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #79b821;
Background color
Panel with #79b821 background
background-color: #79b821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #79b821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(121, 184, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(121, 184, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #79b821; background: linear-gradient(135deg, #79b821, #21B82E);