#368521
a dark, vivid green · cool · closest name: forestgreen
RGB
54, 133, 33
HSL
107°, 60%, 33%
CMYK
59, 0, 75, 48
Luminance
0.1767
Every format
| HEX | #368521 |
| RGB | rgb(54, 133, 33) |
| HSL | hsl(107, 60%, 33%) |
| CMYK | cmyk(59%, 0%, 75%, 48%) |
| LAB | lab(49.1 -43.1 44.0) |
| LCH | lch(49.1 61.6 134.4) |
| OKLCH | oklch(0.547 0.155 139.9) |
Copy-ready code
/* CSS */
color: #368521;
background-color: #368521;
/* Tailwind (arbitrary) */
class="text-[#368521] bg-[#368521]"
/* SCSS */
$brand: #368521;
/* SwiftUI */
Color(red: 0.212, green: 0.522, blue: 0.129)
/* Android */
Color.parseColor("#368521")Accessibility — WCAG contrast
Aa
#368521 on white: 4.63:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#368521 on black: 4.53:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green52.2%
Blue12.9%
CMYK percentages
Cyan59.4%
Magenta0.0%
Yellow75.2%
Key (black)47.8%
Color previews
#368521 text on a black background
contrast 4.53:1
Card sample
#368521 text on a white background
contrast 4.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #368521;
Background color
Panel with #368521 background
background-color: #368521;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #368521;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 133, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 133, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #368521; background: linear-gradient(135deg, #368521, #21854F);