#0faf21
a dark, electric green · cool · closest name: green
RGB
15, 175, 33
HSL
127°, 84%, 37%
CMYK
91, 0, 81, 31
Luminance
0.3087
Every format
| HEX | #0faf21 |
| RGB | rgb(15, 175, 33) |
| HSL | hsl(127, 84%, 37%) |
| CMYK | cmyk(91%, 0%, 81%, 31%) |
| LAB | lab(62.4 -63.0 56.8) |
| LCH | lch(62.4 84.8 138.0) |
| OKLCH | oklch(0.655 0.212 143.5) |
Copy-ready code
/* CSS */
color: #0faf21;
background-color: #0faf21;
/* Tailwind (arbitrary) */
class="text-[#0faf21] bg-[#0faf21]"
/* SCSS */
$brand: #0faf21;
/* SwiftUI */
Color(red: 0.059, green: 0.686, blue: 0.129)
/* Android */
Color.parseColor("#0faf21")Accessibility — WCAG contrast
Aa
#0faf21 on white: 2.93:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#0faf21 on black: 7.17:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green68.6%
Blue12.9%
CMYK percentages
Cyan91.4%
Magenta0.0%
Yellow81.1%
Key (black)31.4%
Color previews
#0faf21 text on a black background
contrast 7.17:1
Card sample
#0faf21 text on a white background
contrast 2.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0faf21;
Background color
Panel with #0faf21 background
background-color: #0faf21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0faf21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 175, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 175, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0faf21; background: linear-gradient(135deg, #0faf21, #0FAF8C);