#57ab21
a dark, vivid green · cool · closest name: forestgreen
RGB
87, 171, 33
HSL
97°, 68%, 40%
CMYK
49, 0, 81, 33
Luminance
0.3126
Every format
| HEX | #57ab21 |
| RGB | rgb(87, 171, 33) |
| HSL | hsl(97, 68%, 40%) |
| CMYK | cmyk(49%, 0%, 81%, 33%) |
| LAB | lab(62.7 -48.2 57.6) |
| LCH | lch(62.7 75.1 129.9) |
| OKLCH | oklch(0.663 0.185 136.5) |
Copy-ready code
/* CSS */
color: #57ab21;
background-color: #57ab21;
/* Tailwind (arbitrary) */
class="text-[#57ab21] bg-[#57ab21]"
/* SCSS */
$brand: #57ab21;
/* SwiftUI */
Color(red: 0.341, green: 0.671, blue: 0.129)
/* Android */
Color.parseColor("#57ab21")Accessibility — WCAG contrast
Aa
#57ab21 on white: 2.90:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#57ab21 on black: 7.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red34.1%
Green67.1%
Blue12.9%
CMYK percentages
Cyan49.1%
Magenta0.0%
Yellow80.7%
Key (black)32.9%
Color previews
#57ab21 text on a black background
contrast 7.25:1
Card sample
#57ab21 text on a white background
contrast 2.90:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #57ab21;
Background color
Panel with #57ab21 background
background-color: #57ab21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #57ab21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(87, 171, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(87, 171, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #57ab21; background: linear-gradient(135deg, #57ab21, #21AB47);