Skip to content

#2ac926

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

RGB
42, 201, 38
HSL
119°, 68%, 47%
CMYK
79, 0, 81, 21
Luminance
0.4241

Every format

HEX#2ac926
RGBrgb(42, 201, 38)
HSLhsl(119, 68%, 47%)
CMYKcmyk(79%, 0%, 81%, 21%)
LABlab(71.2 -67.8 63.6)
LCHlch(71.2 93.0 136.8)
OKLCHoklch(0.729 0.232 142.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ac926 on white: 2.21:1
AA ✗ fail · AA-large · AAA
Aa
#2ac926 on black: 9.48:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green78.8%
Blue14.9%

CMYK percentages

Cyan79.1%
Magenta0.0%
Yellow81.1%
Key (black)21.2%

Color previews

#2ac926 text on a black background

contrast 9.48:1

Card sample

#2ac926 text on a white background

contrast 2.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(42, 201, 38, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(42, 201, 38, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2ac926;
background: linear-gradient(135deg, #2ac926, #26C98F);

Monochromatic scale

Palettes built from #2ac926

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ac926 in the Color Lab