#35af21
a dark, vivid green · cool · closest name: green
RGB
53, 175, 33
HSL
112°, 68%, 41%
CMYK
70, 0, 81, 31
Luminance
0.3153
Every format
| HEX | #35af21 |
| RGB | rgb(53, 175, 33) |
| HSL | hsl(112, 68%, 41%) |
| CMYK | cmyk(70%, 0%, 81%, 31%) |
| LAB | lab(63.0 -58.2 57.5) |
| LCH | lch(63.0 81.8 135.4) |
| OKLCH | oklch(0.661 0.204 141.3) |
Copy-ready code
/* CSS */
color: #35af21;
background-color: #35af21;
/* Tailwind (arbitrary) */
class="text-[#35af21] bg-[#35af21]"
/* SCSS */
$brand: #35af21;
/* SwiftUI */
Color(red: 0.208, green: 0.686, blue: 0.129)
/* Android */
Color.parseColor("#35af21")Accessibility — WCAG contrast
Aa
#35af21 on white: 2.87:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#35af21 on black: 7.31:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red20.8%
Green68.6%
Blue12.9%
CMYK percentages
Cyan69.7%
Magenta0.0%
Yellow81.1%
Key (black)31.4%
Color previews
#35af21 text on a black background
contrast 7.31:1
Card sample
#35af21 text on a white background
contrast 2.87:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #35af21;
Background color
Panel with #35af21 background
background-color: #35af21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #35af21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(53, 175, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(53, 175, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #35af21; background: linear-gradient(135deg, #35af21, #21AF6C);