Skip to content

#9abc2c

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

RGB
154, 188, 44
HSL
74°, 62%, 46%
CMYK
18, 0, 77, 26
Luminance
0.4302

Every format

HEX#9abc2c
RGBrgb(154, 188, 44)
HSLhsl(74, 62%, 46%)
CMYKcmyk(18%, 0%, 77%, 26%)
LABlab(71.6 -30.5 63.8)
LCHlch(71.6 70.7 115.5)
OKLCHoklch(0.745 0.167 122.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9abc2c on white: 2.19:1
AA ✗ fail · AA-large · AAA
Aa
#9abc2c on black: 9.60:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.4%
Green73.7%
Blue17.3%

CMYK percentages

Cyan18.1%
Magenta0.0%
Yellow76.6%
Key (black)26.3%

Color previews

#9abc2c text on a black background

contrast 9.60:1

Card sample

#9abc2c text on a white background

contrast 2.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #9abc2c;
Background color
Panel with #9abc2c background
background-color: #9abc2c;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #9abc2c;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(154, 188, 44, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(154, 188, 44, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9abc2c;
background: linear-gradient(135deg, #9abc2c, #3ABC2C);

Monochromatic scale

Palettes built from #9abc2c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9abc2c in the Color Lab