Skip to content

#2baf49

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

RGB
43, 175, 73
HSL
134°, 61%, 43%
CMYK
75, 0, 58, 31
Luminance
0.3165

Every format

HEX#2baf49
RGBrgb(43, 175, 73)
HSLhsl(134, 61%, 43%)
CMYKcmyk(75%, 0%, 58%, 31%)
LABlab(63.0 -56.2 41.8)
LCHlch(63.0 70.0 143.3)
OKLCHoklch(0.663 0.181 146.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#2baf49 on white: 2.86:1
AA ✗ fail · AA-large · AAA
Aa
#2baf49 on black: 7.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red16.9%
Green68.6%
Blue28.6%

CMYK percentages

Cyan75.4%
Magenta0.0%
Yellow58.3%
Key (black)31.4%

Color previews

#2baf49 text on a black background

contrast 7.33:1

Card sample

#2baf49 text on a white background

contrast 2.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(43, 175, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(43, 175, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #2baf49;
background: linear-gradient(135deg, #2baf49, #2BAFA1);

Monochromatic scale

Palettes built from #2baf49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #2baf49 in the Color Lab