Skip to content

#9eb261

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

RGB
158, 178, 97
HSL
75°, 35%, 54%
CMYK
11, 0, 46, 30
Luminance
0.3997

Every format

HEX#9eb261
RGBrgb(158, 178, 97)
HSLhsl(75, 35%, 54%)
CMYKcmyk(11%, 0%, 46%, 30%)
LABlab(69.5 -19.8 39.0)
LCHlch(69.5 43.7 117.0)
OKLCHoklch(0.730 0.109 120.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#9eb261 on white: 2.33:1
AA ✗ fail · AA-large · AAA
Aa
#9eb261 on black: 8.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red62.0%
Green69.8%
Blue38.0%

CMYK percentages

Cyan11.2%
Magenta0.0%
Yellow45.5%
Key (black)30.2%

Color previews

#9eb261 text on a black background

contrast 8.99:1

Card sample

#9eb261 text on a white background

contrast 2.33:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(158, 178, 97, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(158, 178, 97, 0.45);
Border & gradient
Gradient panel
border: 3px solid #9eb261;
background: linear-gradient(135deg, #9eb261, #68B261);

Monochromatic scale

Palettes built from #9eb261

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #9eb261 in the Color Lab