#38ab21
a dark, vivid green · cool · closest name: forestgreen
RGB
56, 171, 33
HSL
110°, 68%, 40%
CMYK
67, 0, 81, 33
Luminance
0.3008
Every format
| HEX | #38ab21 |
| RGB | rgb(56, 171, 33) |
| HSL | hsl(110, 68%, 40%) |
| CMYK | cmyk(67%, 0%, 81%, 33%) |
| LAB | lab(61.7 -56.3 56.3) |
| LCH | lch(61.7 79.6 135.0) |
| OKLCH | oklch(0.651 0.198 140.9) |
Copy-ready code
/* CSS */
color: #38ab21;
background-color: #38ab21;
/* Tailwind (arbitrary) */
class="text-[#38ab21] bg-[#38ab21]"
/* SCSS */
$brand: #38ab21;
/* SwiftUI */
Color(red: 0.220, green: 0.671, blue: 0.129)
/* Android */
Color.parseColor("#38ab21")Accessibility — WCAG contrast
Aa
#38ab21 on white: 2.99:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#38ab21 on black: 7.02:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red22.0%
Green67.1%
Blue12.9%
CMYK percentages
Cyan67.3%
Magenta0.0%
Yellow80.7%
Key (black)32.9%
Color previews
#38ab21 text on a black background
contrast 7.02:1
Card sample
#38ab21 text on a white background
contrast 2.99:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #38ab21;
Background color
Panel with #38ab21 background
background-color: #38ab21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #38ab21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(56, 171, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(56, 171, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #38ab21; background: linear-gradient(135deg, #38ab21, #21AB66);