#367021
a dark, vivid green · cool · closest name: forestgreen
RGB
54, 112, 33
HSL
104°, 55%, 28%
CMYK
52, 0, 71, 56
Luminance
0.1248
Every format
| HEX | #367021 |
| RGB | rgb(54, 112, 33) |
| HSL | hsl(104, 55%, 28%) |
| CMYK | cmyk(52%, 0%, 71%, 56%) |
| LAB | lab(42.0 -34.6 36.7) |
| LCH | lch(42.0 50.4 133.3) |
| OKLCH | oklch(0.488 0.127 138.6) |
Copy-ready code
/* CSS */
color: #367021;
background-color: #367021;
/* Tailwind (arbitrary) */
class="text-[#367021] bg-[#367021]"
/* SCSS */
$brand: #367021;
/* SwiftUI */
Color(red: 0.212, green: 0.439, blue: 0.129)
/* Android */
Color.parseColor("#367021")Accessibility — WCAG contrast
Aa
#367021 on white: 6.01:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#367021 on black: 3.50:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green43.9%
Blue12.9%
CMYK percentages
Cyan51.8%
Magenta0.0%
Yellow70.5%
Key (black)56.1%
Color previews
#367021 text on a black background
contrast 3.50:1
Card sample
#367021 text on a white background
contrast 6.01:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #367021;
Background color
Panel with #367021 background
background-color: #367021;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #367021;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 112, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 112, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #367021; background: linear-gradient(135deg, #367021, #217041);