Skip to content

#9bcf2f

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

RGB
155, 207, 47
HSL
80°, 63%, 50%
CMYK
25, 0, 77, 19
Luminance
0.5180

Every format

HEX#9bcf2f
RGBrgb(155, 207, 47)
HSLhsl(80, 63%, 50%)
CMYKcmyk(25%, 0%, 77%, 19%)
LABlab(77.2 -38.6 68.1)
LCHlch(77.2 78.3 119.6)
OKLCHoklch(0.790 0.187 126.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red60.8%
Green81.2%
Blue18.4%

CMYK percentages

Cyan25.1%
Magenta0.0%
Yellow77.3%
Key (black)18.8%

Color previews

#9bcf2f text on a black background

contrast 11.36:1

Card sample

#9bcf2f text on a white background

contrast 1.85:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(155, 207, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(155, 207, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9bcf2f;
background: linear-gradient(135deg, #9bcf2f, #30CF2F);

Monochromatic scale

Palettes built from #9bcf2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9bcf2f in the Color Lab