#7ccc1f
a balanced, vivid green · cool · closest name: forestgreen
RGB
124, 204, 31
HSL
88°, 74%, 46%
CMYK
39, 0, 85, 20
Luminance
0.4757
Every format
| HEX | #7ccc1f |
| RGB | rgb(124, 204, 31) |
| HSL | hsl(88, 74%, 46%) |
| CMYK | cmyk(39%, 0%, 85%, 20%) |
| LAB | lab(74.5 -49.3 69.4) |
| LCH | lch(74.5 85.1 125.4) |
| OKLCH | oklch(0.764 0.206 132.7) |
Copy-ready code
/* CSS */
color: #7ccc1f;
background-color: #7ccc1f;
/* Tailwind (arbitrary) */
class="text-[#7ccc1f] bg-[#7ccc1f]"
/* SCSS */
$brand: #7ccc1f;
/* SwiftUI */
Color(red: 0.486, green: 0.800, blue: 0.122)
/* Android */
Color.parseColor("#7ccc1f")Accessibility — WCAG contrast
Aa
#7ccc1f on white: 2.00:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#7ccc1f on black: 10.51:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red48.6%
Green80.0%
Blue12.2%
CMYK percentages
Cyan39.2%
Magenta0.0%
Yellow84.8%
Key (black)20.0%
Color previews
#7ccc1f text on a black background
contrast 10.51:1
Card sample
#7ccc1f text on a white background
contrast 2.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #7ccc1f;
Background color
Panel with #7ccc1f background
background-color: #7ccc1f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #7ccc1f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(124, 204, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(124, 204, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7ccc1f; background: linear-gradient(135deg, #7ccc1f, #1FCC35);