#2abf1f
a dark, vivid green · cool · closest name: green
RGB
42, 191, 31
HSL
116°, 72%, 44%
CMYK
78, 0, 84, 25
Luminance
0.3785
Every format
| HEX | #2abf1f |
| RGB | rgb(42, 191, 31) |
| HSL | hsl(116, 72%, 44%) |
| CMYK | cmyk(78%, 0%, 84%, 25%) |
| LAB | lab(67.9 -65.1 62.5) |
| LCH | lch(67.9 90.3 136.2) |
| OKLCH | oklch(0.702 0.225 142.1) |
Copy-ready code
/* CSS */
color: #2abf1f;
background-color: #2abf1f;
/* Tailwind (arbitrary) */
class="text-[#2abf1f] bg-[#2abf1f]"
/* SCSS */
$brand: #2abf1f;
/* SwiftUI */
Color(red: 0.165, green: 0.749, blue: 0.122)
/* Android */
Color.parseColor("#2abf1f")Accessibility — WCAG contrast
Aa
#2abf1f on white: 2.45:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#2abf1f on black: 8.57:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red16.5%
Green74.9%
Blue12.2%
CMYK percentages
Cyan78.0%
Magenta0.0%
Yellow83.8%
Key (black)25.1%
Color previews
#2abf1f text on a black background
contrast 8.57:1
Card sample
#2abf1f text on a white background
contrast 2.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #2abf1f;
Background color
Panel with #2abf1f background
background-color: #2abf1f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #2abf1f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(42, 191, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 191, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2abf1f; background: linear-gradient(135deg, #2abf1f, #1FBF7F);