Skip to content

#57ab2d

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

RGB
87, 171, 45
HSL
100°, 58%, 42%
CMYK
49, 0, 74, 33
Luminance
0.3134

Every format

HEX#57ab2d
RGBrgb(87, 171, 45)
HSLhsl(100, 58%, 42%)
CMYKcmyk(49%, 0%, 74%, 33%)
LABlab(62.8 -47.5 53.8)
LCHlch(62.8 71.7 131.4)
OKLCHoklch(0.663 0.179 137.4)

Copy-ready code

/* CSS */
color: #57ab2d;
background-color: #57ab2d;
/* Tailwind (arbitrary) */
class="text-[#57ab2d] bg-[#57ab2d]"
/* SCSS */
$brand: #57ab2d;
/* SwiftUI */
Color(red: 0.341, green: 0.671, blue: 0.176)
/* Android */
Color.parseColor("#57ab2d")

Accessibility — WCAG contrast

Aa
#57ab2d on white: 2.89:1
AA ✗ fail · AA-large · AAA
Aa
#57ab2d on black: 7.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red34.1%
Green67.1%
Blue17.6%

CMYK percentages

Cyan49.1%
Magenta0.0%
Yellow73.7%
Key (black)32.9%

Color previews

#57ab2d text on a black background

contrast 7.27:1

Card sample

#57ab2d text on a white background

contrast 2.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #57ab2d;
Background color
Panel with #57ab2d background
background-color: #57ab2d;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(87, 171, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(87, 171, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #57ab2d;
background: linear-gradient(135deg, #57ab2d, #2DAB57);

Monochromatic scale

Palettes built from #57ab2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #57ab2d in the Color Lab