Skip to content

#56b821

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

RGB
86, 184, 33
HSL
99°, 70%, 43%
CMYK
53, 0, 82, 28
Luminance
0.3637

Every format

HEX#56b821
RGBrgb(86, 184, 33)
HSLhsl(99, 70%, 43%)
CMYKcmyk(53%, 0%, 82%, 28%)
LABlab(66.8 -53.4 61.4)
LCHlch(66.8 81.4 131.0)
OKLCHoklch(0.696 0.201 137.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#56b821 on white: 2.54:1
AA ✗ fail · AA-large · AAA
Aa
#56b821 on black: 8.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red33.7%
Green72.2%
Blue12.9%

CMYK percentages

Cyan53.3%
Magenta0.0%
Yellow82.1%
Key (black)27.8%

Color previews

#56b821 text on a black background

contrast 8.27:1

Card sample

#56b821 text on a white background

contrast 2.54:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(86, 184, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(86, 184, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #56b821;
background: linear-gradient(135deg, #56b821, #21B850);

Monochromatic scale

Palettes built from #56b821

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #56b821 in the Color Lab