Skip to content

#2af93c

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

RGB
42, 249, 60
HSL
125°, 95%, 57%
CMYK
83, 0, 76, 2
Luminance
0.6857

Every format

HEX#2af93c
RGBrgb(42, 249, 60)
HSLhsl(125, 95%, 57%)
CMYKcmyk(83%, 0%, 76%, 2%)
LABlab(86.3 -80.3 71.6)
LCHlch(86.3 107.6 138.3)
OKLCHoklch(0.856 0.270 143.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2af93c on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#2af93c on black: 14.71:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green97.6%
Blue23.5%

CMYK percentages

Cyan83.1%
Magenta0.0%
Yellow75.9%
Key (black)2.4%

Color previews

#2af93c text on a black background

contrast 14.71:1

Card sample

#2af93c text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2af93c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2af93c in the Color Lab