Skip to content

#2acf30

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

RGB
42, 207, 48
HSL
122°, 66%, 49%
CMYK
80, 0, 77, 19
Luminance
0.4533

Every format

HEX#2acf30
RGBrgb(42, 207, 48)
HSLhsl(122, 66%, 49%)
CMYKcmyk(80%, 0%, 77%, 19%)
LABlab(73.1 -68.9 62.5)
LCHlch(73.1 93.1 137.8)
OKLCHoklch(0.746 0.234 143.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2acf30 on white: 2.09:1
AA ✗ fail · AA-large · AAA
Aa
#2acf30 on black: 10.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green81.2%
Blue18.8%

CMYK percentages

Cyan79.7%
Magenta0.0%
Yellow76.8%
Key (black)18.8%

Color previews

#2acf30 text on a black background

contrast 10.07:1

Card sample

#2acf30 text on a white background

contrast 2.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2acf30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2acf30 in the Color Lab