#8af049
a balanced, electric green · cool · closest name: lime
RGB
138, 240, 73
HSL
97°, 85%, 61%
CMYK
43, 0, 70, 6
Luminance
0.6820
Every format
| HEX | #8af049 |
| RGB | rgb(138, 240, 73) |
| HSL | hsl(97, 85%, 61%) |
| CMYK | cmyk(43%, 0%, 70%, 6%) |
| LAB | lab(86.1 -56.8 67.9) |
| LCH | lch(86.1 88.5 129.9) |
| OKLCH | oklch(0.861 0.221 135.8) |
Copy-ready code
/* CSS */
color: #8af049;
background-color: #8af049;
/* Tailwind (arbitrary) */
class="text-[#8af049] bg-[#8af049]"
/* SCSS */
$brand: #8af049;
/* SwiftUI */
Color(red: 0.541, green: 0.941, blue: 0.286)
/* Android */
Color.parseColor("#8af049")Accessibility — WCAG contrast
Aa
#8af049 on white: 1.43:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8af049 on black: 14.64:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.1%
Green94.1%
Blue28.6%
CMYK percentages
Cyan42.5%
Magenta0.0%
Yellow69.6%
Key (black)5.9%
Color previews
#8af049 text on a black background
contrast 14.64:1
Card sample
#8af049 text on a white background
contrast 1.43:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8af049;
Background color
Panel with #8af049 background
background-color: #8af049;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8af049;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(138, 240, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 240, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8af049; background: linear-gradient(135deg, #8af049, #49F077);