#79af49
a balanced, soft green · cool · closest name: olivedrab
RGB
121, 175, 73
HSL
92°, 41%, 49%
CMYK
31, 0, 58, 31
Luminance
0.3521
Every format
| HEX | #79af49 |
| RGB | rgb(121, 175, 73) |
| HSL | hsl(92, 41%, 49%) |
| CMYK | cmyk(31%, 0%, 58%, 31%) |
| LAB | lab(65.9 -35.2 45.8) |
| LCH | lch(65.9 57.8 127.5) |
| OKLCH | oklch(0.694 0.145 132.4) |
Copy-ready code
/* CSS */
color: #79af49;
background-color: #79af49;
/* Tailwind (arbitrary) */
class="text-[#79af49] bg-[#79af49]"
/* SCSS */
$brand: #79af49;
/* SwiftUI */
Color(red: 0.475, green: 0.686, blue: 0.286)
/* Android */
Color.parseColor("#79af49")Accessibility — WCAG contrast
Aa
#79af49 on white: 2.61:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#79af49 on black: 8.04:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red47.5%
Green68.6%
Blue28.6%
CMYK percentages
Cyan30.9%
Magenta0.0%
Yellow58.3%
Key (black)31.4%
Color previews
#79af49 text on a black background
contrast 8.04:1
Card sample
#79af49 text on a white background
contrast 2.61:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #79af49;
Background color
Panel with #79af49 background
background-color: #79af49;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #79af49;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(121, 175, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(121, 175, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #79af49; background: linear-gradient(135deg, #79af49, #49AF5D);