#539b21
a dark, vivid green · cool · closest name: forestgreen
RGB
83, 155, 33
HSL
95°, 65%, 37%
CMYK
47, 0, 79, 39
Luminance
0.2539
Every format
| HEX | #539b21 |
| RGB | rgb(83, 155, 33) |
| HSL | hsl(95, 65%, 37%) |
| CMYK | cmyk(47%, 0%, 79%, 39%) |
| LAB | lab(57.5 -43.1 52.6) |
| LCH | lch(57.5 68.0 129.3) |
| OKLCH | oklch(0.619 0.168 135.8) |
Copy-ready code
/* CSS */
color: #539b21;
background-color: #539b21;
/* Tailwind (arbitrary) */
class="text-[#539b21] bg-[#539b21]"
/* SCSS */
$brand: #539b21;
/* SwiftUI */
Color(red: 0.325, green: 0.608, blue: 0.129)
/* Android */
Color.parseColor("#539b21")Accessibility — WCAG contrast
Aa
#539b21 on white: 3.45:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#539b21 on black: 6.08:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.5%
Green60.8%
Blue12.9%
CMYK percentages
Cyan46.5%
Magenta0.0%
Yellow78.7%
Key (black)39.2%
Color previews
#539b21 text on a black background
contrast 6.08:1
Card sample
#539b21 text on a white background
contrast 3.45:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #539b21;
Background color
Panel with #539b21 background
background-color: #539b21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #539b21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(83, 155, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(83, 155, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #539b21; background: linear-gradient(135deg, #539b21, #219B40);