#339944
a dark, vivid green · cool · closest name: forestgreen
RGB
51, 153, 68
HSL
130°, 50%, 40%
CMYK
67, 0, 56, 40
Luminance
0.2390
Every format
| HEX | #339944 |
| RGB | rgb(51, 153, 68) |
| HSL | hsl(130, 50%, 40%) |
| CMYK | cmyk(67%, 0%, 56%, 40%) |
| LAB | lab(56.0 -47.5 35.9) |
| LCH | lch(56.0 59.5 142.9) |
| OKLCH | oklch(0.605 0.154 146.2) |
Copy-ready code
/* CSS */
color: #339944;
background-color: #339944;
/* Tailwind (arbitrary) */
class="text-[#339944] bg-[#339944]"
/* SCSS */
$brand: #339944;
/* SwiftUI */
Color(red: 0.200, green: 0.600, blue: 0.267)
/* Android */
Color.parseColor("#339944")Accessibility — WCAG contrast
Aa
#339944 on white: 3.63:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#339944 on black: 5.78:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red20.0%
Green60.0%
Blue26.7%
CMYK percentages
Cyan66.7%
Magenta0.0%
Yellow55.6%
Key (black)40.0%
Color previews
#339944 text on a black background
contrast 5.78:1
Card sample
#339944 text on a white background
contrast 3.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #339944;
Background color
Panel with #339944 background
background-color: #339944;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #339944;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(51, 153, 68, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(51, 153, 68, 0.45);
Border & gradient
Gradient panel
border: 3px solid #339944; background: linear-gradient(135deg, #339944, #339988);