#305921
a deep, vivid green · cool · closest name: seagreen
RGB
48, 89, 33
HSL
104°, 46%, 24%
CMYK
46, 0, 63, 65
Luminance
0.0788
Every format
| HEX | #305921 |
| RGB | rgb(48, 89, 33) |
| HSL | hsl(104, 46%, 24%) |
| CMYK | cmyk(46%, 0%, 63%, 65%) |
| LAB | lab(33.7 -26.2 27.5) |
| LCH | lch(33.7 38.0 133.7) |
| OKLCH | oklch(0.420 0.097 138.2) |
Copy-ready code
/* CSS */
color: #305921;
background-color: #305921;
/* Tailwind (arbitrary) */
class="text-[#305921] bg-[#305921]"
/* SCSS */
$brand: #305921;
/* SwiftUI */
Color(red: 0.188, green: 0.349, blue: 0.129)
/* Android */
Color.parseColor("#305921")Accessibility — WCAG contrast
Aa
#305921 on white: 8.15:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#305921 on black: 2.58:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red18.8%
Green34.9%
Blue12.9%
CMYK percentages
Cyan46.1%
Magenta0.0%
Yellow62.9%
Key (black)65.1%
Color previews
#305921 text on a black background
contrast 2.58:1
Card sample
#305921 text on a white background
contrast 8.15:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #305921;
Background color
Panel with #305921 background
background-color: #305921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #305921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(48, 89, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(48, 89, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #305921; background: linear-gradient(135deg, #305921, #215937);