#0f5921
a deep, vivid green · cool · closest name: seagreen
RGB
15, 89, 33
HSL
135°, 71%, 20%
CMYK
83, 0, 63, 65
Luminance
0.0736
Every format
| HEX | #0f5921 |
| RGB | rgb(15, 89, 33) |
| HSL | hsl(135, 71%, 20%) |
| CMYK | cmyk(83%, 0%, 63%, 65%) |
| LAB | lab(32.6 -35.0 25.9) |
| LCH | lch(32.6 43.5 143.5) |
| OKLCH | oklch(0.407 0.112 146.9) |
Copy-ready code
/* CSS */
color: #0f5921;
background-color: #0f5921;
/* Tailwind (arbitrary) */
class="text-[#0f5921] bg-[#0f5921]"
/* SCSS */
$brand: #0f5921;
/* SwiftUI */
Color(red: 0.059, green: 0.349, blue: 0.129)
/* Android */
Color.parseColor("#0f5921")Accessibility — WCAG contrast
Aa
#0f5921 on white: 8.50:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#0f5921 on black: 2.47:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green34.9%
Blue12.9%
CMYK percentages
Cyan83.1%
Magenta0.0%
Yellow62.9%
Key (black)65.1%
Color previews
#0f5921 text on a black background
contrast 2.47:1
Card sample
#0f5921 text on a white background
contrast 8.50:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f5921;
Background color
Panel with #0f5921 background
background-color: #0f5921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f5921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 89, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 89, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f5921; background: linear-gradient(135deg, #0f5921, #0F5952);