Skip to content

#1afb49

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

RGB
26, 251, 73
HSL
133°, 97%, 54%
CMYK
90, 0, 71, 2
Luminance
0.6970

Every format

HEX#1afb49
RGBrgb(26, 251, 73)
HSLhsl(133, 97%, 54%)
CMYKcmyk(90%, 0%, 71%, 2%)
LABlab(86.8 -81.1 67.9)
LCHlch(86.8 105.8 140.1)
OKLCHoklch(0.860 0.268 144.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1afb49 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#1afb49 on black: 14.94:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red10.2%
Green98.4%
Blue28.6%

CMYK percentages

Cyan89.6%
Magenta0.0%
Yellow70.9%
Key (black)1.6%

Color previews

#1afb49 text on a black background

contrast 14.94:1

Card sample

#1afb49 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(26, 251, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(26, 251, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #1afb49;
background: linear-gradient(135deg, #1afb49, #1AFBDF);

Monochromatic scale

Palettes built from #1afb49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1afb49 in the Color Lab