Skip to content

#9acf2d

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

RGB
154, 207, 45
HSL
80°, 64%, 49%
CMYK
26, 0, 78, 19
Luminance
0.5169

Every format

HEX#9acf2d
RGBrgb(154, 207, 45)
HSLhsl(80, 64%, 49%)
CMYKcmyk(26%, 0%, 78%, 19%)
LABlab(77.1 -39.1 68.6)
LCHlch(77.1 79.0 119.7)
OKLCHoklch(0.789 0.189 126.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9acf2d on white: 1.85:1
AA ✗ fail · AA-large · AAA
Aa
#9acf2d on black: 11.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red60.4%
Green81.2%
Blue17.6%

CMYK percentages

Cyan25.6%
Magenta0.0%
Yellow78.3%
Key (black)18.8%

Color previews

#9acf2d text on a black background

contrast 11.34:1

Card sample

#9acf2d text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(154, 207, 45, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(154, 207, 45, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9acf2d;
background: linear-gradient(135deg, #9acf2d, #2ECF2D);

Monochromatic scale

Palettes built from #9acf2d

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9acf2d in the Color Lab