Skip to content

#80ba2f

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

RGB
128, 186, 47
HSL
85°, 60%, 46%
CMYK
31, 0, 75, 27
Luminance
0.3991

Every format

HEX#80ba2f
RGBrgb(128, 186, 47)
HSLhsl(85, 60%, 46%)
CMYKcmyk(31%, 0%, 75%, 27%)
LABlab(69.4 -39.5 60.2)
LCHlch(69.4 72.0 123.3)
OKLCHoklch(0.723 0.175 130.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#80ba2f on white: 2.34:1
AA ✗ fail · AA-large · AAA
Aa
#80ba2f on black: 8.98:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green72.9%
Blue18.4%

CMYK percentages

Cyan31.2%
Magenta0.0%
Yellow74.7%
Key (black)27.1%

Color previews

#80ba2f text on a black background

contrast 8.98:1

Card sample

#80ba2f text on a white background

contrast 2.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #80ba2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #80ba2f in the Color Lab