Skip to content

#1bfa21

a balanced, electric green · cool · closest name: lime

RGB
27, 250, 33
HSL
122°, 96%, 54%
CMYK
89, 0, 87, 2
Luminance
0.6871

Every format

HEX#1bfa21
RGBrgb(27, 250, 33)
HSLhsl(122, 96%, 54%)
CMYKcmyk(89%, 0%, 87%, 2%)
LABlab(86.4 -83.1 78.3)
LCHlch(86.4 114.2 136.7)
OKLCHoklch(0.856 0.283 142.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1bfa21 on white: 1.42:1
AA ✗ fail · AA-large · AAA
Aa
#1bfa21 on black: 14.74:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red10.6%
Green98.0%
Blue12.9%

CMYK percentages

Cyan89.2%
Magenta0.0%
Yellow86.8%
Key (black)2.0%

Color previews

#1bfa21 text on a black background

contrast 14.74:1

Card sample

#1bfa21 text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1bfa21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1bfa21 in the Color Lab