#8af005
a balanced, electric green · cool · closest name: lime
RGB
138, 240, 5
HSL
86°, 96%, 48%
CMYK
43, 0, 98, 6
Luminance
0.6773
Every format
| HEX | #8af005 |
| RGB | rgb(138, 240, 5) |
| HSL | hsl(86, 96%, 48%) |
| CMYK | cmyk(43%, 0%, 98%, 6%) |
| LAB | lab(85.9 -59.3 82.4) |
| LCH | lch(85.9 101.5 125.7) |
| OKLCH | oklch(0.859 0.244 133.5) |
Copy-ready code
/* CSS */
color: #8af005;
background-color: #8af005;
/* Tailwind (arbitrary) */
class="text-[#8af005] bg-[#8af005]"
/* SCSS */
$brand: #8af005;
/* SwiftUI */
Color(red: 0.541, green: 0.941, blue: 0.020)
/* Android */
Color.parseColor("#8af005")Accessibility — WCAG contrast
Aa
#8af005 on white: 1.44:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8af005 on black: 14.55:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.1%
Green94.1%
Blue2.0%
CMYK percentages
Cyan42.5%
Magenta0.0%
Yellow97.9%
Key (black)5.9%
Color previews
#8af005 text on a black background
contrast 14.55:1
Card sample
#8af005 text on a white background
contrast 1.44:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8af005;
Background color
Panel with #8af005 background
background-color: #8af005;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8af005;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(138, 240, 5, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 240, 5, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8af005; background: linear-gradient(135deg, #8af005, #05F01C);