Skip to content

#30ba2f

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

RGB
48, 186, 47
HSL
120°, 60%, 46%
CMYK
74, 0, 75, 27
Luminance
0.3595

Every format

HEX#30ba2f
RGBrgb(48, 186, 47)
HSLhsl(120, 60%, 46%)
CMYKcmyk(74%, 0%, 75%, 27%)
LABlab(66.5 -61.7 56.4)
LCHlch(66.5 83.6 137.6)
OKLCHoklch(0.691 0.210 142.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#30ba2f on white: 2.56:1
AA ✗ fail · AA-large · AAA
Aa
#30ba2f on black: 8.19:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red18.8%
Green72.9%
Blue18.4%

CMYK percentages

Cyan74.2%
Magenta0.0%
Yellow74.7%
Key (black)27.1%

Color previews

#30ba2f text on a black background

contrast 8.19:1

Card sample

#30ba2f text on a white background

contrast 2.56:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #30ba2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #30ba2f in the Color Lab