#1fff2c
a balanced, electric green · cool · closest name: lime
RGB
31, 255, 44
HSL
124°, 100%, 56%
CMYK
88, 0, 83, 0
Luminance
0.7199
Every format
| HEX | #1fff2c |
| RGB | rgb(31, 255, 44) |
| HSL | hsl(124, 100%, 56%) |
| CMYK | cmyk(88%, 0%, 83%, 0%) |
| LAB | lab(88.0 -83.8 77.5) |
| LCH | lch(88.0 114.1 137.2) |
| OKLCH | oklch(0.869 0.284 143.0) |
Copy-ready code
/* CSS */
color: #1fff2c;
background-color: #1fff2c;
/* Tailwind (arbitrary) */
class="text-[#1fff2c] bg-[#1fff2c]"
/* SCSS */
$brand: #1fff2c;
/* SwiftUI */
Color(red: 0.122, green: 1.000, blue: 0.173)
/* Android */
Color.parseColor("#1fff2c")Accessibility — WCAG contrast
Aa
#1fff2c on white: 1.36:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#1fff2c on black: 15.40:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.2%
Green100.0%
Blue17.3%
CMYK percentages
Cyan87.8%
Magenta0.0%
Yellow82.7%
Key (black)0.0%
Color previews
#1fff2c text on a black background
contrast 15.40:1
Card sample
#1fff2c text on a white background
contrast 1.36:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1fff2c;
Background color
Panel with #1fff2c background
background-color: #1fff2c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1fff2c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(31, 255, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(31, 255, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1fff2c; background: linear-gradient(135deg, #1fff2c, #1FFFC1);