#7fbc21
a dark, vivid green · cool · closest name: olivedrab
RGB
127, 188, 33
HSL
84°, 70%, 43%
CMYK
32, 0, 82, 26
Luminance
0.4059
Every format
| HEX | #7fbc21 |
| RGB | rgb(127, 188, 33) |
| HSL | hsl(84, 70%, 43%) |
| CMYK | cmyk(32%, 0%, 82%, 26%) |
| LAB | lab(69.9 -41.5 64.8) |
| LCH | lch(69.9 77.0 122.6) |
| OKLCH | oklch(0.727 0.185 129.9) |
Copy-ready code
/* CSS */
color: #7fbc21;
background-color: #7fbc21;
/* Tailwind (arbitrary) */
class="text-[#7fbc21] bg-[#7fbc21]"
/* SCSS */
$brand: #7fbc21;
/* SwiftUI */
Color(red: 0.498, green: 0.737, blue: 0.129)
/* Android */
Color.parseColor("#7fbc21")Accessibility — WCAG contrast
Aa
#7fbc21 on white: 2.30:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#7fbc21 on black: 9.12:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red49.8%
Green73.7%
Blue12.9%
CMYK percentages
Cyan32.4%
Magenta0.0%
Yellow82.4%
Key (black)26.3%
Color previews
#7fbc21 text on a black background
contrast 9.12:1
Card sample
#7fbc21 text on a white background
contrast 2.30:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7fbc21;
Background color
Panel with #7fbc21 background
background-color: #7fbc21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7fbc21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(127, 188, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(127, 188, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7fbc21; background: linear-gradient(135deg, #7fbc21, #21BC2A);