#368921
a dark, vivid green · cool · closest name: forestgreen
RGB
54, 137, 33
HSL
108°, 61%, 33%
CMYK
61, 0, 76, 46
Luminance
0.1879
Every format
| HEX | #368921 |
| RGB | rgb(54, 137, 33) |
| HSL | hsl(108, 61%, 33%) |
| CMYK | cmyk(61%, 0%, 76%, 46%) |
| LAB | lab(50.4 -44.6 45.4) |
| LCH | lch(50.4 63.7 134.5) |
| OKLCH | oklch(0.558 0.160 140.1) |
Copy-ready code
/* CSS */
color: #368921;
background-color: #368921;
/* Tailwind (arbitrary) */
class="text-[#368921] bg-[#368921]"
/* SCSS */
$brand: #368921;
/* SwiftUI */
Color(red: 0.212, green: 0.537, blue: 0.129)
/* Android */
Color.parseColor("#368921")Accessibility — WCAG contrast
Aa
#368921 on white: 4.41:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#368921 on black: 4.76:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green53.7%
Blue12.9%
CMYK percentages
Cyan60.6%
Magenta0.0%
Yellow75.9%
Key (black)46.3%
Color previews
#368921 text on a black background
contrast 4.76:1
Card sample
#368921 text on a white background
contrast 4.41:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #368921;
Background color
Panel with #368921 background
background-color: #368921;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #368921;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 137, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 137, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #368921; background: linear-gradient(135deg, #368921, #218951);