Skip to content

#4aaa22

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

RGB
74, 170, 34
HSL
102°, 67%, 40%
CMYK
57, 0, 80, 33
Luminance
0.3032

Every format

HEX#4aaa22
RGBrgb(74, 170, 34)
HSLhsl(102, 67%, 40%)
CMYKcmyk(57%, 0%, 80%, 33%)
LABlab(61.9 -51.5 56.4)
LCHlch(61.9 76.4 132.4)
OKLCHoklch(0.655 0.190 138.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#4aaa22 on white: 2.97:1
AA ✗ fail · AA-large · AAA
Aa
#4aaa22 on black: 7.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red29.0%
Green66.7%
Blue13.3%

CMYK percentages

Cyan56.5%
Magenta0.0%
Yellow80.0%
Key (black)33.3%

Color previews

#4aaa22 text on a black background

contrast 7.06:1

Card sample

#4aaa22 text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #4aaa22

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #4aaa22 in the Color Lab