#abf40c
a balanced, electric green · cool · closest name: yellow
RGB
171, 244, 12
HSL
79°, 91%, 50%
CMYK
30, 0, 95, 4
Luminance
0.7339
Every format
| HEX | #abf40c |
| RGB | rgb(171, 244, 12) |
| HSL | hsl(79, 91%, 50%) |
| CMYK | cmyk(30%, 0%, 95%, 4%) |
| LAB | lab(88.6 -49.5 84.7) |
| LCH | lch(88.6 98.1 120.3) |
| OKLCH | oklch(0.885 0.231 128.4) |
Copy-ready code
/* CSS */
color: #abf40c;
background-color: #abf40c;
/* Tailwind (arbitrary) */
class="text-[#abf40c] bg-[#abf40c]"
/* SCSS */
$brand: #abf40c;
/* SwiftUI */
Color(red: 0.671, green: 0.957, blue: 0.047)
/* Android */
Color.parseColor("#abf40c")Accessibility — WCAG contrast
Aa
#abf40c on white: 1.34:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#abf40c on black: 15.68:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red67.1%
Green95.7%
Blue4.7%
CMYK percentages
Cyan29.9%
Magenta0.0%
Yellow95.1%
Key (black)4.3%
Color previews
#abf40c text on a black background
contrast 15.68:1
Card sample
#abf40c text on a white background
contrast 1.34:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #abf40c;
Background color
Panel with #abf40c background
background-color: #abf40c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #abf40c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(171, 244, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(171, 244, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #abf40c; background: linear-gradient(135deg, #abf40c, #10F40C);