Skip to content

#3aaa22

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

RGB
58, 170, 34
HSL
109°, 67%, 40%
CMYK
66, 0, 80, 33
Luminance
0.2976

Every format

HEX#3aaa22
RGBrgb(58, 170, 34)
HSLhsl(109, 67%, 40%)
CMYKcmyk(66%, 0%, 80%, 33%)
LABlab(61.5 -55.4 55.8)
LCHlch(61.5 78.7 134.8)
OKLCHoklch(0.649 0.196 140.7)

Copy-ready code

/* CSS */
color: #3aaa22;
background-color: #3aaa22;
/* Tailwind (arbitrary) */
class="text-[#3aaa22] bg-[#3aaa22]"
/* SCSS */
$brand: #3aaa22;
/* SwiftUI */
Color(red: 0.227, green: 0.667, blue: 0.133)
/* Android */
Color.parseColor("#3aaa22")

Accessibility — WCAG contrast

Aa
#3aaa22 on white: 3.02:1
AA ✗ fail · AA-large · AAA
Aa
#3aaa22 on black: 6.95:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red22.7%
Green66.7%
Blue13.3%

CMYK percentages

Cyan65.9%
Magenta0.0%
Yellow80.0%
Key (black)33.3%

Color previews

#3aaa22 text on a black background

contrast 6.95:1

Card sample

#3aaa22 text on a white background

contrast 3.02:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #3aaa22;
Background color
Panel with #3aaa22 background
background-color: #3aaa22;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #3aaa22;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(58, 170, 34, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(58, 170, 34, 0.45);
Border & gradient
Gradient panel
border: 3px solid #3aaa22;
background: linear-gradient(135deg, #3aaa22, #22AA65);

Monochromatic scale

Palettes built from #3aaa22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #3aaa22 in the Color Lab