Skip to content

#489a21

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

RGB
72, 154, 33
HSL
101°, 65%, 37%
CMYK
53, 0, 79, 40
Luminance
0.2460

Every format

HEX#489a21
RGBrgb(72, 154, 33)
HSLhsl(101, 65%, 37%)
CMYKcmyk(53%, 0%, 79%, 40%)
LABlab(56.7 -46.1 51.7)
LCHlch(56.7 69.3 131.7)
OKLCHoklch(0.611 0.172 137.9)

Copy-ready code

/* CSS */
color: #489a21;
background-color: #489a21;
/* Tailwind (arbitrary) */
class="text-[#489a21] bg-[#489a21]"
/* SCSS */
$brand: #489a21;
/* SwiftUI */
Color(red: 0.282, green: 0.604, blue: 0.129)
/* Android */
Color.parseColor("#489a21")

Accessibility — WCAG contrast

Aa
#489a21 on white: 3.55:1
AA ✗ fail · AA-large · AAA
Aa
#489a21 on black: 5.92:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red28.2%
Green60.4%
Blue12.9%

CMYK percentages

Cyan53.2%
Magenta0.0%
Yellow78.6%
Key (black)39.6%

Color previews

#489a21 text on a black background

contrast 5.92:1

Card sample

#489a21 text on a white background

contrast 3.55:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #489a21;
Background color
Panel with #489a21 background
background-color: #489a21;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #489a21;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(72, 154, 33, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(72, 154, 33, 0.45);
Border & gradient
Gradient panel
border: 3px solid #489a21;
background: linear-gradient(135deg, #489a21, #219A4B);

Monochromatic scale

Palettes built from #489a21

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #489a21 in the Color Lab