Skip to content

#7abc30

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

RGB
122, 188, 48
HSL
88°, 59%, 46%
CMYK
35, 0, 75, 26
Luminance
0.4032

Every format

HEX#7abc30
RGBrgb(122, 188, 48)
HSLhsl(88, 59%, 46%)
CMYKcmyk(35%, 0%, 75%, 26%)
LABlab(69.7 -42.6 60.0)
LCHlch(69.7 73.6 125.3)
OKLCHoklch(0.724 0.180 131.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#7abc30 text on a black background

contrast 9.06:1

Card sample

#7abc30 text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7abc30

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7abc30 in the Color Lab