#56af39
a balanced, vivid green · cool · closest name: forestgreen
RGB
86, 175, 57
HSL
105°, 51%, 46%
CMYK
51, 0, 67, 31
Luminance
0.3293
Every format
| HEX | #56af39 |
| RGB | rgb(86, 175, 57) |
| HSL | hsl(105, 51%, 46%) |
| CMYK | cmyk(51%, 0%, 67%, 31%) |
| LAB | lab(64.1 -48.4 50.4) |
| LCH | lch(64.1 69.9 133.8) |
| OKLCH | oklch(0.674 0.176 139.0) |
Copy-ready code
/* CSS */
color: #56af39;
background-color: #56af39;
/* Tailwind (arbitrary) */
class="text-[#56af39] bg-[#56af39]"
/* SCSS */
$brand: #56af39;
/* SwiftUI */
Color(red: 0.337, green: 0.686, blue: 0.224)
/* Android */
Color.parseColor("#56af39")Accessibility — WCAG contrast
Aa
#56af39 on white: 2.77:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#56af39 on black: 7.59:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red33.7%
Green68.6%
Blue22.4%
CMYK percentages
Cyan50.9%
Magenta0.0%
Yellow67.4%
Key (black)31.4%
Color previews
#56af39 text on a black background
contrast 7.59:1
Card sample
#56af39 text on a white background
contrast 2.77:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #56af39;
Background color
Panel with #56af39 background
background-color: #56af39;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #56af39;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(86, 175, 57, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 175, 57, 0.45);
Border & gradient
Gradient panel
border: 3px solid #56af39; background: linear-gradient(135deg, #56af39, #39AF6B);