#18be1f
a dark, electric green · cool · closest name: green
RGB
24, 190, 31
HSL
123°, 78%, 42%
CMYK
87, 0, 84, 26
Luminance
0.3712
Every format
| HEX | #18be1f |
| RGB | rgb(24, 190, 31) |
| HSL | hsl(123, 78%, 42%) |
| CMYK | cmyk(87%, 0%, 84%, 26%) |
| LAB | lab(67.4 -66.8 61.9) |
| LCH | lch(67.4 91.1 137.2) |
| OKLCH | oklch(0.697 0.227 142.9) |
Copy-ready code
/* CSS */
color: #18be1f;
background-color: #18be1f;
/* Tailwind (arbitrary) */
class="text-[#18be1f] bg-[#18be1f]"
/* SCSS */
$brand: #18be1f;
/* SwiftUI */
Color(red: 0.094, green: 0.745, blue: 0.122)
/* Android */
Color.parseColor("#18be1f")Accessibility — WCAG contrast
Aa
#18be1f on white: 2.49:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#18be1f on black: 8.42:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red9.4%
Green74.5%
Blue12.2%
CMYK percentages
Cyan87.4%
Magenta0.0%
Yellow83.7%
Key (black)25.5%
Color previews
#18be1f text on a black background
contrast 8.42:1
Card sample
#18be1f text on a white background
contrast 2.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #18be1f;
Background color
Panel with #18be1f background
background-color: #18be1f;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #18be1f;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(24, 190, 31, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(24, 190, 31, 0.45);
Border & gradient
Gradient panel
border: 3px solid #18be1f; background: linear-gradient(135deg, #18be1f, #18BE8E);