#0fa721
a dark, electric green · cool · closest name: green
RGB
15, 167, 33
HSL
127°, 84%, 36%
CMYK
91, 0, 80, 35
Luminance
0.2785
Every format
| HEX | #0fa721 |
| RGB | rgb(15, 167, 33) |
| HSL | hsl(127, 84%, 36%) |
| CMYK | cmyk(91%, 0%, 80%, 35%) |
| LAB | lab(59.8 -60.6 54.2) |
| LCH | lch(59.8 81.4 138.2) |
| OKLCH | oklch(0.633 0.204 143.6) |
Copy-ready code
/* CSS */
color: #0fa721;
background-color: #0fa721;
/* Tailwind (arbitrary) */
class="text-[#0fa721] bg-[#0fa721]"
/* SCSS */
$brand: #0fa721;
/* SwiftUI */
Color(red: 0.059, green: 0.655, blue: 0.129)
/* Android */
Color.parseColor("#0fa721")Accessibility — WCAG contrast
Aa
#0fa721 on white: 3.20:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#0fa721 on black: 6.57:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green65.5%
Blue12.9%
CMYK percentages
Cyan91.0%
Magenta0.0%
Yellow80.2%
Key (black)34.5%
Color previews
#0fa721 text on a black background
contrast 6.57:1
Card sample
#0fa721 text on a white background
contrast 3.20:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0fa721;
Background color
Panel with #0fa721 background
background-color: #0fa721;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0fa721;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 167, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 167, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0fa721; background: linear-gradient(135deg, #0fa721, #0FA786);