#0f4721
a deep, vivid green · cool · closest name: darkslategray
RGB
15, 71, 33
HSL
139°, 65%, 17%
CMYK
79, 0, 54, 72
Luminance
0.0472
Every format
| HEX | #0f4721 |
| RGB | rgb(15, 71, 33) |
| HSL | hsl(139, 65%, 17%) |
| CMYK | cmyk(79%, 0%, 54%, 72%) |
| LAB | lab(25.9 -27.6 17.8) |
| LCH | lch(25.9 32.9 147.3) |
| OKLCH | oklch(0.352 0.086 149.8) |
Copy-ready code
/* CSS */
color: #0f4721;
background-color: #0f4721;
/* Tailwind (arbitrary) */
class="text-[#0f4721] bg-[#0f4721]"
/* SCSS */
$brand: #0f4721;
/* SwiftUI */
Color(red: 0.059, green: 0.278, blue: 0.129)
/* Android */
Color.parseColor("#0f4721")Accessibility — WCAG contrast
Aa
#0f4721 on white: 10.80:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f4721 on black: 1.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green27.8%
Blue12.9%
CMYK percentages
Cyan78.9%
Magenta0.0%
Yellow53.5%
Key (black)72.2%
Color previews
#0f4721 text on a black background
contrast 1.94:1
Card sample
#0f4721 text on a white background
contrast 10.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f4721;
Background color
Panel with #0f4721 background
background-color: #0f4721;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f4721;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 71, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 71, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f4721; background: linear-gradient(135deg, #0f4721, #0F4746);