#368019
a dark, vivid green · cool · closest name: forestgreen
RGB
54, 128, 25
HSL
103°, 67%, 30%
CMYK
58, 0, 81, 50
Luminance
0.1629
Every format
| HEX | #368019 |
| RGB | rgb(54, 128, 25) |
| HSL | hsl(103, 67%, 30%) |
| CMYK | cmyk(58%, 0%, 81%, 50%) |
| LAB | lab(47.4 -41.7 45.2) |
| LCH | lch(47.4 61.5 132.7) |
| OKLCH | oklch(0.532 0.153 138.8) |
Copy-ready code
/* CSS */
color: #368019;
background-color: #368019;
/* Tailwind (arbitrary) */
class="text-[#368019] bg-[#368019]"
/* SCSS */
$brand: #368019;
/* SwiftUI */
Color(red: 0.212, green: 0.502, blue: 0.098)
/* Android */
Color.parseColor("#368019")Accessibility — WCAG contrast
Aa
#368019 on white: 4.93:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#368019 on black: 4.26:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green50.2%
Blue9.8%
CMYK percentages
Cyan57.8%
Magenta0.0%
Yellow80.5%
Key (black)49.8%
Color previews
#368019 text on a black background
contrast 4.26:1
Card sample
#368019 text on a white background
contrast 4.93:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #368019;
Background color
Panel with #368019 background
background-color: #368019;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #368019;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 128, 25, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 128, 25, 0.45);
Border & gradient
Gradient panel
border: 3px solid #368019; background: linear-gradient(135deg, #368019, #198041);