#0fc577
a dark, electric green · cool · closest name: forestgreen
RGB
15, 197, 119
HSL
154°, 86%, 42%
CMYK
92, 0, 40, 23
Luminance
0.4137
Every format
| HEX | #0fc577 |
| RGB | rgb(15, 197, 119) |
| HSL | hsl(154, 86%, 42%) |
| CMYK | cmyk(92%, 0%, 40%, 23%) |
| LAB | lab(70.4 -58.8 27.9) |
| LCH | lch(70.4 65.0 154.6) |
| OKLCH | oklch(0.725 0.173 156.3) |
Copy-ready code
/* CSS */
color: #0fc577;
background-color: #0fc577;
/* Tailwind (arbitrary) */
class="text-[#0fc577] bg-[#0fc577]"
/* SCSS */
$brand: #0fc577;
/* SwiftUI */
Color(red: 0.059, green: 0.773, blue: 0.467)
/* Android */
Color.parseColor("#0fc577")Accessibility — WCAG contrast
Aa
#0fc577 on white: 2.26:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0fc577 on black: 9.27:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green77.3%
Blue46.7%
CMYK percentages
Cyan92.4%
Magenta0.0%
Yellow39.6%
Key (black)22.7%
Color previews
#0fc577 text on a black background
contrast 9.27:1
Card sample
#0fc577 text on a white background
contrast 2.26:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0fc577;
Background color
Panel with #0fc577 background
background-color: #0fc577;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0fc577;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 197, 119, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 197, 119, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0fc577; background: linear-gradient(135deg, #0fc577, #0F9AC5);