#0f7621
a dark, electric green · cool · closest name: forestgreen
RGB
15, 118, 33
HSL
131°, 77%, 26%
CMYK
87, 0, 72, 54
Luminance
0.1317
Every format
| HEX | #0f7621 |
| RGB | rgb(15, 118, 33) |
| HSL | hsl(131, 77%, 26%) |
| CMYK | cmyk(87%, 0%, 72%, 54%) |
| LAB | lab(43.0 -45.3 37.5) |
| LCH | lch(43.0 58.8 140.4) |
| OKLCH | oklch(0.494 0.149 144.9) |
Copy-ready code
/* CSS */
color: #0f7621;
background-color: #0f7621;
/* Tailwind (arbitrary) */
class="text-[#0f7621] bg-[#0f7621]"
/* SCSS */
$brand: #0f7621;
/* SwiftUI */
Color(red: 0.059, green: 0.463, blue: 0.129)
/* Android */
Color.parseColor("#0f7621")Accessibility — WCAG contrast
Aa
#0f7621 on white: 5.78:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#0f7621 on black: 3.63:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red5.9%
Green46.3%
Blue12.9%
CMYK percentages
Cyan87.3%
Magenta0.0%
Yellow72.0%
Key (black)53.7%
Color previews
#0f7621 text on a black background
contrast 3.63:1
Card sample
#0f7621 text on a white background
contrast 5.78:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0f7621;
Background color
Panel with #0f7621 background
background-color: #0f7621;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0f7621;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(15, 118, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(15, 118, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0f7621; background: linear-gradient(135deg, #0f7621, #0F7666);