Skip to content

#98ba49

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

RGB
152, 186, 73
HSL
78°, 45%, 51%
CMYK
18, 0, 61, 27
Luminance
0.4227

Every format

HEX#98ba49
RGBrgb(152, 186, 73)
HSLhsl(78, 45%, 51%)
CMYKcmyk(18%, 0%, 61%, 27%)
LABlab(71.1 -28.5 52.1)
LCHlch(71.1 59.4 118.6)
OKLCHoklch(0.741 0.145 124.1)

Copy-ready code

/* CSS */
color: #98ba49;
background-color: #98ba49;
/* Tailwind (arbitrary) */
class="text-[#98ba49] bg-[#98ba49]"
/* SCSS */
$brand: #98ba49;
/* SwiftUI */
Color(red: 0.596, green: 0.729, blue: 0.286)
/* Android */
Color.parseColor("#98ba49")

Accessibility — WCAG contrast

Aa
#98ba49 on white: 2.22:1
AA ✗ fail · AA-large · AAA
Aa
#98ba49 on black: 9.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red59.6%
Green72.9%
Blue28.6%

CMYK percentages

Cyan18.3%
Magenta0.0%
Yellow60.8%
Key (black)27.1%

Color previews

#98ba49 text on a black background

contrast 9.45:1

Card sample

#98ba49 text on a white background

contrast 2.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #98ba49;
Background color
Panel with #98ba49 background
background-color: #98ba49;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #98ba49;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(152, 186, 73, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(152, 186, 73, 0.45);
Border & gradient
Gradient panel
border: 3px solid #98ba49;
background: linear-gradient(135deg, #98ba49, #4DBA49);

Monochromatic scale

Palettes built from #98ba49

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #98ba49 in the Color Lab