#149f21
a dark, electric green · cool · closest name: forestgreen
RGB
20, 159, 33
HSL
126°, 78%, 35%
CMYK
87, 0, 79, 38
Luminance
0.2505
Every format
| HEX | #149f21 |
| RGB | rgb(20, 159, 33) |
| HSL | hsl(126, 78%, 35%) |
| CMYK | cmyk(87%, 0%, 79%, 38%) |
| LAB | lab(57.1 -57.9 51.7) |
| LCH | lch(57.1 77.6 138.2) |
| OKLCH | oklch(0.612 0.195 143.5) |
Copy-ready code
/* CSS */
color: #149f21;
background-color: #149f21;
/* Tailwind (arbitrary) */
class="text-[#149f21] bg-[#149f21]"
/* SCSS */
$brand: #149f21;
/* SwiftUI */
Color(red: 0.078, green: 0.624, blue: 0.129)
/* Android */
Color.parseColor("#149f21")Accessibility — WCAG contrast
Aa
#149f21 on white: 3.49:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#149f21 on black: 6.01:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red7.8%
Green62.4%
Blue12.9%
CMYK percentages
Cyan87.4%
Magenta0.0%
Yellow79.2%
Key (black)37.6%
Color previews
#149f21 text on a black background
contrast 6.01:1
Card sample
#149f21 text on a white background
contrast 3.49:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #149f21;
Background color
Panel with #149f21 background
background-color: #149f21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #149f21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(20, 159, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(20, 159, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #149f21; background: linear-gradient(135deg, #149f21, #149F7E);