#8af45f
a light, electric green · cool · closest name: lime
RGB
138, 244, 95
HSL
103°, 87%, 67%
CMYK
43, 0, 61, 4
Luminance
0.7093
Every format
| HEX | #8af45f |
| RGB | rgb(138, 244, 95) |
| HSL | hsl(103, 87%, 67%) |
| CMYK | cmyk(43%, 0%, 61%, 4%) |
| LAB | lab(87.5 -56.5 60.7) |
| LCH | lch(87.5 83.0 132.9) |
| OKLCH | oklch(0.873 0.210 137.8) |
Copy-ready code
/* CSS */
color: #8af45f;
background-color: #8af45f;
/* Tailwind (arbitrary) */
class="text-[#8af45f] bg-[#8af45f]"
/* SCSS */
$brand: #8af45f;
/* SwiftUI */
Color(red: 0.541, green: 0.957, blue: 0.373)
/* Android */
Color.parseColor("#8af45f")Accessibility — WCAG contrast
Aa
#8af45f on white: 1.38:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#8af45f on black: 15.19:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red54.1%
Green95.7%
Blue37.3%
CMYK percentages
Cyan43.4%
Magenta0.0%
Yellow61.1%
Key (black)4.3%
Color previews
#8af45f text on a black background
contrast 15.19:1
Card sample
#8af45f text on a white background
contrast 1.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #8af45f;
Background color
Panel with #8af45f background
background-color: #8af45f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #8af45f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(138, 244, 95, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 244, 95, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8af45f; background: linear-gradient(135deg, #8af45f, #5FF497);