Skip to content

#7abc2e

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

RGB
122, 188, 46
HSL
88°, 61%, 46%
CMYK
35, 0, 76, 26
Luminance
0.4030

Every format

HEX#7abc2e
RGBrgb(122, 188, 46)
HSLhsl(88, 61%, 46%)
CMYKcmyk(35%, 0%, 76%, 26%)
LABlab(69.7 -42.7 60.7)
LCHlch(69.7 74.2 125.1)
OKLCHoklch(0.724 0.181 131.8)

Copy-ready code

/* CSS */
color: #7abc2e;
background-color: #7abc2e;
/* Tailwind (arbitrary) */
class="text-[#7abc2e] bg-[#7abc2e]"
/* SCSS */
$brand: #7abc2e;
/* SwiftUI */
Color(red: 0.478, green: 0.737, blue: 0.180)
/* Android */
Color.parseColor("#7abc2e")

Accessibility — WCAG contrast

Aa
#7abc2e on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#7abc2e on black: 9.06:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red47.8%
Green73.7%
Blue18.0%

CMYK percentages

Cyan35.1%
Magenta0.0%
Yellow75.5%
Key (black)26.3%

Color previews

#7abc2e text on a black background

contrast 9.06:1

Card sample

#7abc2e text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #7abc2e;
Background color
Panel with #7abc2e background
background-color: #7abc2e;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #7abc2e;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(122, 188, 46, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(122, 188, 46, 0.45);
Border & gradient
Gradient panel
border: 3px solid #7abc2e;
background: linear-gradient(135deg, #7abc2e, #2EBC41);

Monochromatic scale

Palettes built from #7abc2e

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7abc2e in the Color Lab