Skip to content

#5ccc2d

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

RGB
92, 204, 45
HSL
102°, 64%, 49%
CMYK
55, 0, 78, 20
Luminance
0.4565

Every format

HEX#5ccc2d
RGBrgb(92, 204, 45)
HSLhsl(102, 64%, 49%)
CMYKcmyk(55%, 0%, 78%, 20%)
LABlab(73.3 -58.4 64.1)
LCHlch(73.3 86.7 132.4)
OKLCHoklch(0.751 0.215 138.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#5ccc2d on white: 2.07:1
AA ✗ fail · AA-large · AAA
Aa
#5ccc2d on black: 10.13:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red36.1%
Green80.0%
Blue17.6%

CMYK percentages

Cyan54.9%
Magenta0.0%
Yellow77.9%
Key (black)20.0%

Color previews

#5ccc2d text on a black background

contrast 10.13:1

Card sample

#5ccc2d text on a white background

contrast 2.07:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #5ccc2d;
Background color
Panel with #5ccc2d background
background-color: #5ccc2d;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(92, 204, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(92, 204, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5ccc2d;
background: linear-gradient(135deg, #5ccc2d, #2DCC68);

Monochromatic scale

Palettes built from #5ccc2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #5ccc2d in the Color Lab