Skip to content

#80ba4f

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

RGB
128, 186, 79
HSL
93°, 44%, 52%
CMYK
31, 0, 58, 27
Luminance
0.4027

Every format

HEX#80ba4f
RGBrgb(128, 186, 79)
HSLhsl(93, 44%, 52%)
CMYKcmyk(31%, 0%, 58%, 27%)
LABlab(69.7 -37.0 47.5)
LCHlch(69.7 60.2 128.0)
OKLCHoklch(0.726 0.152 132.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#80ba4f on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#80ba4f on black: 9.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green72.9%
Blue31.0%

CMYK percentages

Cyan31.2%
Magenta0.0%
Yellow57.5%
Key (black)27.1%

Color previews

#80ba4f text on a black background

contrast 9.05:1

Card sample

#80ba4f text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #80ba4f;
Background color
Panel with #80ba4f background
background-color: #80ba4f;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #80ba4f;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(128, 186, 79, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(128, 186, 79, 0.45);
Border & gradient
Gradient panel
border: 3px solid #80ba4f;
background: linear-gradient(135deg, #80ba4f, #4FBA65);

Monochromatic scale

Palettes built from #80ba4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #80ba4f in the Color Lab