Skip to content

#30af49

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

RGB
48, 175, 73
HSL
132°, 57%, 44%
CMYK
73, 0, 58, 31
Luminance
0.3177

Every format

HEX#30af49
RGBrgb(48, 175, 73)
HSLhsl(132, 57%, 44%)
CMYKcmyk(73%, 0%, 58%, 31%)
LABlab(63.1 -55.4 41.9)
LCHlch(63.1 69.5 142.9)
OKLCHoklch(0.664 0.179 146.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#30af49 on white: 2.86:1
AA ✗ fail · AA-large · AAA
Aa
#30af49 on black: 7.35:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.8%
Green68.6%
Blue28.6%

CMYK percentages

Cyan72.6%
Magenta0.0%
Yellow58.3%
Key (black)31.4%

Color previews

#30af49 text on a black background

contrast 7.35:1

Card sample

#30af49 text on a white background

contrast 2.86:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #30af49;
Background color
Panel with #30af49 background
background-color: #30af49;
Text shadow — hex

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #30af49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #30af49 in the Color Lab