#36780c
a dark, electric green · cool · closest name: forestgreen
RGB
54, 120, 12
HSL
97°, 82%, 26%
CMYK
55, 0, 90, 53
Luminance
0.1424
Every format
| HEX | #36780c |
| RGB | rgb(54, 120, 12) |
| HSL | hsl(97, 82%, 26%) |
| CMYK | cmyk(55%, 0%, 90%, 53%) |
| LAB | lab(44.6 -39.3 46.4) |
| LCH | lch(44.6 60.8 130.2) |
| OKLCH | oklch(0.509 0.149 137.1) |
Copy-ready code
/* CSS */
color: #36780c;
background-color: #36780c;
/* Tailwind (arbitrary) */
class="text-[#36780c] bg-[#36780c]"
/* SCSS */
$brand: #36780c;
/* SwiftUI */
Color(red: 0.212, green: 0.471, blue: 0.047)
/* Android */
Color.parseColor("#36780c")Accessibility — WCAG contrast
Aa
#36780c on white: 5.46:1
AA ✓ pass · AA-large ✓ · AAA ✗
Aa
#36780c on black: 3.85:1
AA ✗ fail · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red21.2%
Green47.1%
Blue4.7%
CMYK percentages
Cyan55.0%
Magenta0.0%
Yellow90.0%
Key (black)52.9%
Color previews
#36780c text on a black background
contrast 3.85:1
Card sample
#36780c text on a white background
contrast 5.46:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #36780c;
Background color
Panel with #36780c background
background-color: #36780c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #36780c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(54, 120, 12, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(54, 120, 12, 0.45);
Border & gradient
Gradient panel
border: 3px solid #36780c; background: linear-gradient(135deg, #36780c, #0C782A);