#0b7921
a dark, electric green · cool · closest name: forestgreen
RGB
11, 121, 33
HSL
132°, 83%, 26%
CMYK
91, 0, 73, 53
Luminance
0.1386
Every format
| HEX | #0b7921 |
| RGB | rgb(11, 121, 33) |
| HSL | hsl(132, 83%, 26%) |
| CMYK | cmyk(91%, 0%, 73%, 53%) |
| LAB | lab(44.0 -46.7 38.5) |
| LCH | lch(44.0 60.5 140.5) |
| OKLCH | oklch(0.502 0.154 145.0) |
Copy-ready code
/* CSS */
color: #0b7921;
background-color: #0b7921;
/* Tailwind (arbitrary) */
class="text-[#0b7921] bg-[#0b7921]"
/* SCSS */
$brand: #0b7921;
/* SwiftUI */
Color(red: 0.043, green: 0.475, blue: 0.129)
/* Android */
Color.parseColor("#0b7921")Accessibility — WCAG contrast
Aa
#0b7921 on white: 5.57:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#0b7921 on black: 3.77:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red4.3%
Green47.5%
Blue12.9%
CMYK percentages
Cyan90.9%
Magenta0.0%
Yellow72.7%
Key (black)52.5%
Color previews
#0b7921 text on a black background
contrast 3.77:1
Card sample
#0b7921 text on a white background
contrast 5.57:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #0b7921;
Background color
Panel with #0b7921 background
background-color: #0b7921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #0b7921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(11, 121, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(11, 121, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #0b7921; background: linear-gradient(135deg, #0b7921, #0B796A);