Skip to content

#2ac65f

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

RGB
42, 198, 95
HSL
140°, 65%, 47%
CMYK
79, 0, 52, 22
Luminance
0.4171

Every format

HEX#2ac65f
RGBrgb(42, 198, 95)
HSLhsl(140, 65%, 47%)
CMYKcmyk(79%, 0%, 52%, 22%)
LABlab(70.7 -61.0 40.4)
LCHlch(70.7 73.2 146.5)
OKLCHoklch(0.727 0.191 149.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2ac65f on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#2ac65f on black: 9.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.5%
Green77.6%
Blue37.3%

CMYK percentages

Cyan78.8%
Magenta0.0%
Yellow52.0%
Key (black)22.4%

Color previews

#2ac65f text on a black background

contrast 9.34:1

Card sample

#2ac65f text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #2ac65f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2ac65f in the Color Lab