#81b821
a dark, vivid green · cool · closest name: olivedrab
RGB
129, 184, 33
HSL
82°, 70%, 43%
CMYK
30, 0, 82, 28
Luminance
0.3906
Every format
| HEX | #81b821 |
| RGB | rgb(129, 184, 33) |
| HSL | hsl(82, 70%, 43%) |
| CMYK | cmyk(30%, 0%, 82%, 28%) |
| LAB | lab(68.8 -39.0 63.9) |
| LCH | lch(68.8 74.8 121.4) |
| OKLCH | oklch(0.718 0.179 128.7) |
Copy-ready code
/* CSS */
color: #81b821;
background-color: #81b821;
/* Tailwind (arbitrary) */
class="text-[#81b821] bg-[#81b821]"
/* SCSS */
$brand: #81b821;
/* SwiftUI */
Color(red: 0.506, green: 0.722, blue: 0.129)
/* Android */
Color.parseColor("#81b821")Accessibility — WCAG contrast
Aa
#81b821 on white: 2.38:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#81b821 on black: 8.81:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red50.6%
Green72.2%
Blue12.9%
CMYK percentages
Cyan29.9%
Magenta0.0%
Yellow82.1%
Key (black)27.8%
Color previews
#81b821 text on a black background
contrast 8.81:1
Card sample
#81b821 text on a white background
contrast 2.38:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #81b821;
Background color
Panel with #81b821 background
background-color: #81b821;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #81b821;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(129, 184, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(129, 184, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #81b821; background: linear-gradient(135deg, #81b821, #21B826);