Skip to content

#1bab21

a dark, vivid green · cool · closest name: green

RGB
27, 171, 33
HSL
123°, 73%, 39%
CMYK
84, 0, 81, 33
Luminance
0.2947

Every format

HEX#1bab21
RGBrgb(27, 171, 33)
HSLhsl(123, 73%, 39%)
CMYKcmyk(84%, 0%, 81%, 33%)
LABlab(61.2 -60.8 55.6)
LCHlch(61.2 82.4 137.5)
OKLCHoklch(0.646 0.206 143.1)

Copy-ready code

/* CSS */
color: #1bab21;
background-color: #1bab21;
/* Tailwind (arbitrary) */
class="text-[#1bab21] bg-[#1bab21]"
/* SCSS */
$brand: #1bab21;
/* SwiftUI */
Color(red: 0.106, green: 0.671, blue: 0.129)
/* Android */
Color.parseColor("#1bab21")

Accessibility — WCAG contrast

Aa
#1bab21 on white: 3.05:1
AA ✗ fail · AA-large · AAA
Aa
#1bab21 on black: 6.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red10.6%
Green67.1%
Blue12.9%

CMYK percentages

Cyan84.2%
Magenta0.0%
Yellow80.7%
Key (black)32.9%

Color previews

#1bab21 text on a black background

contrast 6.89:1

Card sample

#1bab21 text on a white background

contrast 3.05:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #1bab21;
Background color
Panel with #1bab21 background
background-color: #1bab21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #1bab21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(27, 171, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(27, 171, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1bab21;
background: linear-gradient(135deg, #1bab21, #1BAB81);

Monochromatic scale

Palettes built from #1bab21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1bab21 in the Color Lab