#368321
a dark, vivid green · cool · closest name: forestgreen
RGB
54, 131, 33
HSL
107°, 60%, 32%
CMYK
59, 0, 75, 49
Luminance
0.1713
Every format
| HEX | #368321 |
| RGB | rgb(54, 131, 33) |
| HSL | hsl(107, 60%, 32%) |
| CMYK | cmyk(59%, 0%, 75%, 49%) |
| LAB | lab(48.4 -42.3 43.4) |
| LCH | lch(48.4 60.6 134.3) |
| OKLCH | oklch(0.541 0.152 139.8) |
Copy-ready code
/* CSS */
color: #368321;
background-color: #368321;
/* Tailwind (arbitrary) */
class="text-[#368321] bg-[#368321]"
/* SCSS */
$brand: #368321;
/* SwiftUI */
Color(red: 0.212, green: 0.514, blue: 0.129)
/* Android */
Color.parseColor("#368321")Accessibility — WCAG contrast
Aa
#368321 on white: 4.75:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#368321 on black: 4.43:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green51.4%
Blue12.9%
CMYK percentages
Cyan58.8%
Magenta0.0%
Yellow74.8%
Key (black)48.6%
Color previews
#368321 text on a black background
contrast 4.43:1
Card sample
#368321 text on a white background
contrast 4.75:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #368321;
Background color
Panel with #368321 background
background-color: #368321;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #368321;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 131, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 131, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #368321; background: linear-gradient(135deg, #368321, #21834D);