#1fad50
a dark, vivid green · cool · closest name: forestgreen
RGB
31, 173, 80
HSL
141°, 70%, 40%
CMYK
82, 0, 54, 32
Luminance
0.3076
Every format
| HEX | #1fad50 |
| RGB | rgb(31, 173, 80) |
| HSL | hsl(141, 70%, 40%) |
| CMYK | cmyk(82%, 0%, 54%, 32%) |
| LAB | lab(62.3 -56.0 37.5) |
| LCH | lch(62.3 67.4 146.2) |
| OKLCH | oklch(0.656 0.175 149.1) |
Copy-ready code
/* CSS */
color: #1fad50;
background-color: #1fad50;
/* Tailwind (arbitrary) */
class="text-[#1fad50] bg-[#1fad50]"
/* SCSS */
$brand: #1fad50;
/* SwiftUI */
Color(red: 0.122, green: 0.678, blue: 0.314)
/* Android */
Color.parseColor("#1fad50")Accessibility — WCAG contrast
Aa
#1fad50 on white: 2.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#1fad50 on black: 7.15:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.2%
Green67.8%
Blue31.4%
CMYK percentages
Cyan82.1%
Magenta0.0%
Yellow53.8%
Key (black)32.2%
Color previews
#1fad50 text on a black background
contrast 7.15:1
Card sample
#1fad50 text on a white background
contrast 2.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1fad50;
Background color
Panel with #1fad50 background
background-color: #1fad50;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1fad50;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(31, 173, 80, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(31, 173, 80, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1fad50; background: linear-gradient(135deg, #1fad50, #1FABAD);