Skip to content

#80af4f

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

RGB
128, 175, 79
HSL
89°, 38%, 50%
CMYK
27, 0, 55, 31
Luminance
0.3581

Every format

HEX#80af4f
RGBrgb(128, 175, 79)
HSLhsl(89, 38%, 50%)
CMYKcmyk(27%, 0%, 55%, 31%)
LABlab(66.4 -32.0 43.6)
LCHlch(66.4 54.1 126.2)
OKLCHoklch(0.699 0.136 130.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#80af4f on white: 2.57:1
AA ✗ fail · AA-large · AAA
Aa
#80af4f on black: 8.16:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red50.2%
Green68.6%
Blue31.0%

CMYK percentages

Cyan26.9%
Magenta0.0%
Yellow54.9%
Key (black)31.4%

Color previews

#80af4f text on a black background

contrast 8.16:1

Card sample

#80af4f text on a white background

contrast 2.57:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #80af4f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #80af4f in the Color Lab