#1baa21
a dark, vivid green · cool · closest name: green
RGB
27, 170, 33
HSL
123°, 73%, 39%
CMYK
84, 0, 81, 33
Luminance
0.2909
Every format
| HEX | #1baa21 |
| RGB | rgb(27, 170, 33) |
| HSL | hsl(123, 73%, 39%) |
| CMYK | cmyk(84%, 0%, 81%, 33%) |
| LAB | lab(60.9 -60.5 55.3) |
| LCH | lch(60.9 82.0 137.6) |
| OKLCH | oklch(0.643 0.205 143.1) |
Copy-ready code
/* CSS */
color: #1baa21;
background-color: #1baa21;
/* Tailwind (arbitrary) */
class="text-[#1baa21] bg-[#1baa21]"
/* SCSS */
$brand: #1baa21;
/* SwiftUI */
Color(red: 0.106, green: 0.667, blue: 0.129)
/* Android */
Color.parseColor("#1baa21")Accessibility — WCAG contrast
Aa
#1baa21 on white: 3.08:1
AA ✗ fail · AA-large ✓ · AAA ✗
Aa
#1baa21 on black: 6.82:1
AA ✓ pass · AA-large ✓ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red10.6%
Green66.7%
Blue12.9%
CMYK percentages
Cyan84.1%
Magenta0.0%
Yellow80.6%
Key (black)33.3%
Color previews
#1baa21 text on a black background
contrast 6.82:1
Card sample
#1baa21 text on a white background
contrast 3.08:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #1baa21;
Background color
Panel with #1baa21 background
background-color: #1baa21;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #1baa21;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(27, 170, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(27, 170, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1baa21; background: linear-gradient(135deg, #1baa21, #1BAA80);