Skip to content

#56ba2f

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

RGB
86, 186, 47
HSL
103°, 60%, 46%
CMYK
54, 0, 75, 27
Luminance
0.3730

Every format

HEX#56ba2f
RGBrgb(86, 186, 47)
HSLhsl(103, 60%, 46%)
CMYKcmyk(54%, 0%, 75%, 27%)
LABlab(67.5 -53.4 57.7)
LCHlch(67.5 78.6 132.8)
OKLCHoklch(0.702 0.196 138.6)

Copy-ready code

/* CSS */
color: #56ba2f;
background-color: #56ba2f;
/* Tailwind (arbitrary) */
class="text-[#56ba2f] bg-[#56ba2f]"
/* SCSS */
$brand: #56ba2f;
/* SwiftUI */
Color(red: 0.337, green: 0.729, blue: 0.184)
/* Android */
Color.parseColor("#56ba2f")

Accessibility — WCAG contrast

Aa
#56ba2f on white: 2.48:1
AA ✗ fail · AA-large · AAA
Aa
#56ba2f on black: 8.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red33.7%
Green72.9%
Blue18.4%

CMYK percentages

Cyan53.8%
Magenta0.0%
Yellow74.7%
Key (black)27.1%

Color previews

#56ba2f text on a black background

contrast 8.46:1

Card sample

#56ba2f text on a white background

contrast 2.48:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #56ba2f;
Background color
Panel with #56ba2f background
background-color: #56ba2f;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(86, 186, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 186, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #56ba2f;
background: linear-gradient(135deg, #56ba2f, #2FBA65);

Monochromatic scale

Palettes built from #56ba2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #56ba2f in the Color Lab