Skip to content

#1af080

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

RGB
26, 240, 128
HSL
149°, 88%, 52%
CMYK
89, 0, 47, 6
Luminance
0.6410

Every format

HEX#1af080
RGBrgb(26, 240, 128)
HSLhsl(149, 88%, 52%)
CMYKcmyk(89%, 0%, 47%, 6%)
LABlab(84.0 -71.1 41.0)
LCHlch(84.0 82.1 150.0)
OKLCHoklch(0.838 0.215 152.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#1af080 on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#1af080 on black: 13.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red10.2%
Green94.1%
Blue50.2%

CMYK percentages

Cyan89.2%
Magenta0.0%
Yellow46.7%
Key (black)5.9%

Color previews

#1af080 text on a black background

contrast 13.82:1

Card sample

#1af080 text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #1af080

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #1af080 in the Color Lab