Skip to content

#2af86f

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

RGB
42, 248, 111
HSL
140°, 94%, 57%
CMYK
83, 0, 55, 3
Luminance
0.6877

Every format

HEX#2af86f
RGBrgb(42, 248, 111)
HSLhsl(140, 94%, 57%)
CMYKcmyk(83%, 0%, 55%, 3%)
LABlab(86.4 -75.0 51.9)
LCHlch(86.4 91.2 145.3)
OKLCHoklch(0.858 0.236 148.4)

Copy-ready code

/* CSS */
color: #2af86f;
background-color: #2af86f;
/* Tailwind (arbitrary) */
class="text-[#2af86f] bg-[#2af86f]"
/* SCSS */
$brand: #2af86f;
/* SwiftUI */
Color(red: 0.165, green: 0.973, blue: 0.435)
/* Android */
Color.parseColor("#2af86f")

Accessibility — WCAG contrast

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

RGB percentages

Red16.5%
Green97.3%
Blue43.5%

CMYK percentages

Cyan83.1%
Magenta0.0%
Yellow55.2%
Key (black)2.7%

Color previews

#2af86f text on a black background

contrast 14.75:1

Card sample

#2af86f text on a white background

contrast 1.42:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #2af86f;
Background color
Panel with #2af86f background
background-color: #2af86f;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 248, 111, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 248, 111, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2af86f;
background: linear-gradient(135deg, #2af86f, #2AF8F8);

Monochromatic scale

Palettes built from #2af86f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2af86f in the Color Lab