#38ef21
a balanced, electric green · cool · closest name: lime
RGB
56, 239, 33
HSL
113°, 87%, 53%
CMYK
77, 0, 86, 6
Luminance
0.6268
Every format
| HEX | #38ef21 |
| RGB | rgb(56, 239, 33) |
| HSL | hsl(113, 87%, 53%) |
| CMYK | cmyk(77%, 0%, 86%, 6%) |
| LAB | lab(83.3 -77.3 75.8) |
| LCH | lch(83.3 108.3 135.6) |
| OKLCH | oklch(0.831 0.268 141.8) |
Copy-ready code
/* CSS */
color: #38ef21;
background-color: #38ef21;
/* Tailwind (arbitrary) */
class="text-[#38ef21] bg-[#38ef21]"
/* SCSS */
$brand: #38ef21;
/* SwiftUI */
Color(red: 0.220, green: 0.937, blue: 0.129)
/* Android */
Color.parseColor("#38ef21")Accessibility — WCAG contrast
Aa
#38ef21 on white: 1.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#38ef21 on black: 13.54:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red22.0%
Green93.7%
Blue12.9%
CMYK percentages
Cyan76.6%
Magenta0.0%
Yellow86.2%
Key (black)6.3%
Color previews
#38ef21 text on a black background
contrast 13.54:1
Card sample
#38ef21 text on a white background
contrast 1.55:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #38ef21;
Background color
Panel with #38ef21 background
background-color: #38ef21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #38ef21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(56, 239, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(56, 239, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #38ef21; background: linear-gradient(135deg, #38ef21, #21EF93);