#21ab76
a dark, vivid green · cool · closest name: seagreen
RGB
33, 171, 118
HSL
157°, 68%, 40%
CMYK
81, 0, 31, 33
Luminance
0.3076
Every format
| HEX | #21ab76 |
| RGB | rgb(33, 171, 118) |
| HSL | hsl(157, 68%, 40%) |
| CMYK | cmyk(81%, 0%, 31%, 33%) |
| LAB | lab(62.3 -48.0 17.5) |
| LCH | lch(62.3 51.0 160.0) |
| OKLCH | oklch(0.658 0.138 161.3) |
Copy-ready code
/* CSS */
color: #21ab76;
background-color: #21ab76;
/* Tailwind (arbitrary) */
class="text-[#21ab76] bg-[#21ab76]"
/* SCSS */
$brand: #21ab76;
/* SwiftUI */
Color(red: 0.129, green: 0.671, blue: 0.463)
/* Android */
Color.parseColor("#21ab76")Accessibility — WCAG contrast
Aa
#21ab76 on white: 2.94:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#21ab76 on black: 7.15:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red12.9%
Green67.1%
Blue46.3%
CMYK percentages
Cyan80.7%
Magenta0.0%
Yellow31.0%
Key (black)32.9%
Color previews
#21ab76 text on a black background
contrast 7.15:1
Card sample
#21ab76 text on a white background
contrast 2.94:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #21ab76;
Background color
Panel with #21ab76 background
background-color: #21ab76;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #21ab76;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(33, 171, 118, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(33, 171, 118, 0.45);
Border & gradient
Gradient panel
border: 3px solid #21ab76; background: linear-gradient(135deg, #21ab76, #2184AB);