#4cbc2c
a balanced, vivid green · cool · closest name: forestgreen
RGB
76, 188, 44
HSL
107°, 62%, 46%
CMYK
60, 0, 77, 26
Luminance
0.3768
Every format
| HEX | #4cbc2c |
| RGB | rgb(76, 188, 44) |
| HSL | hsl(107, 62%, 46%) |
| CMYK | cmyk(60%, 0%, 77%, 26%) |
| LAB | lab(67.8 -56.9 58.9) |
| LCH | lch(67.8 81.9 134.0) |
| OKLCH | oklch(0.704 0.204 139.9) |
Copy-ready code
/* CSS */
color: #4cbc2c;
background-color: #4cbc2c;
/* Tailwind (arbitrary) */
class="text-[#4cbc2c] bg-[#4cbc2c]"
/* SCSS */
$brand: #4cbc2c;
/* SwiftUI */
Color(red: 0.298, green: 0.737, blue: 0.173)
/* Android */
Color.parseColor("#4cbc2c")Accessibility — WCAG contrast
Aa
#4cbc2c on white: 2.46:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#4cbc2c on black: 8.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red29.8%
Green73.7%
Blue17.3%
CMYK percentages
Cyan59.6%
Magenta0.0%
Yellow76.6%
Key (black)26.3%
Color previews
#4cbc2c text on a black background
contrast 8.54:1
Card sample
#4cbc2c text on a white background
contrast 2.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #4cbc2c;
Background color
Panel with #4cbc2c background
background-color: #4cbc2c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #4cbc2c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(76, 188, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(76, 188, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #4cbc2c; background: linear-gradient(135deg, #4cbc2c, #2CBC6C);