#308921
a dark, vivid green · cool · closest name: forestgreen
RGB
48, 137, 33
HSL
111°, 61%, 33%
CMYK
65, 0, 76, 46
Luminance
0.1863
Every format
| HEX | #308921 |
| RGB | rgb(48, 137, 33) |
| HSL | hsl(111, 61%, 33%) |
| CMYK | cmyk(65%, 0%, 76%, 46%) |
| LAB | lab(50.3 -46.1 45.2) |
| LCH | lch(50.3 64.5 135.6) |
| OKLCH | oklch(0.556 0.162 141.1) |
Copy-ready code
/* CSS */
color: #308921;
background-color: #308921;
/* Tailwind (arbitrary) */
class="text-[#308921] bg-[#308921]"
/* SCSS */
$brand: #308921;
/* SwiftUI */
Color(red: 0.188, green: 0.537, blue: 0.129)
/* Android */
Color.parseColor("#308921")Accessibility — WCAG contrast
Aa
#308921 on white: 4.44:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#308921 on black: 4.73:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.8%
Green53.7%
Blue12.9%
CMYK percentages
Cyan65.0%
Magenta0.0%
Yellow75.9%
Key (black)46.3%
Color previews
#308921 text on a black background
contrast 4.73:1
Card sample
#308921 text on a white background
contrast 4.44:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #308921;
Background color
Panel with #308921 background
background-color: #308921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #308921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(48, 137, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 137, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #308921; background: linear-gradient(135deg, #308921, #218957);