#38b821
a dark, vivid green · cool · closest name: green
RGB
56, 184, 33
HSL
111°, 70%, 43%
CMYK
70, 0, 82, 28
Luminance
0.3523
Every format
| HEX | #38b821 |
| RGB | rgb(56, 184, 33) |
| HSL | hsl(111, 70%, 43%) |
| CMYK | cmyk(70%, 0%, 82%, 28%) |
| LAB | lab(65.9 -60.5 60.3) |
| LCH | lch(65.9 85.4 135.1) |
| OKLCH | oklch(0.686 0.212 141.1) |
Copy-ready code
/* CSS */
color: #38b821;
background-color: #38b821;
/* Tailwind (arbitrary) */
class="text-[#38b821] bg-[#38b821]"
/* SCSS */
$brand: #38b821;
/* SwiftUI */
Color(red: 0.220, green: 0.722, blue: 0.129)
/* Android */
Color.parseColor("#38b821")Accessibility — WCAG contrast
Aa
#38b821 on white: 2.61:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#38b821 on black: 8.05:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red22.0%
Green72.2%
Blue12.9%
CMYK percentages
Cyan69.6%
Magenta0.0%
Yellow82.1%
Key (black)27.8%
Color previews
#38b821 text on a black background
contrast 8.05:1
Card sample
#38b821 text on a white background
contrast 2.61:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #38b821;
Background color
Panel with #38b821 background
background-color: #38b821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #38b821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(56, 184, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(56, 184, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #38b821; background: linear-gradient(135deg, #38b821, #21B86F);