#779e21
a dark, vivid green · cool · closest name: olivedrab
RGB
119, 158, 33
HSL
79°, 65%, 38%
CMYK
25, 0, 79, 38
Luminance
0.2849
Every format
| HEX | #779e21 |
| RGB | rgb(119, 158, 33) |
| HSL | hsl(79, 65%, 38%) |
| CMYK | cmyk(25%, 0%, 79%, 38%) |
| LAB | lab(60.3 -31.1 56.0) |
| LCH | lch(60.3 64.0 119.0) |
| OKLCH | oklch(0.647 0.153 126.1) |
Copy-ready code
/* CSS */
color: #779e21;
background-color: #779e21;
/* Tailwind (arbitrary) */
class="text-[#779e21] bg-[#779e21]"
/* SCSS */
$brand: #779e21;
/* SwiftUI */
Color(red: 0.467, green: 0.620, blue: 0.129)
/* Android */
Color.parseColor("#779e21")Accessibility — WCAG contrast
Aa
#779e21 on white: 3.14:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#779e21 on black: 6.70:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red46.7%
Green62.0%
Blue12.9%
CMYK percentages
Cyan24.7%
Magenta0.0%
Yellow79.1%
Key (black)38.0%
Color previews
#779e21 text on a black background
contrast 6.70:1
Card sample
#779e21 text on a white background
contrast 3.14:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #779e21;
Background color
Panel with #779e21 background
background-color: #779e21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #779e21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(119, 158, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(119, 158, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #779e21; background: linear-gradient(135deg, #779e21, #249E21);