Skip to content

#7abc3c

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

RGB
122, 188, 60
HSL
91°, 52%, 49%
CMYK
35, 0, 68, 26
Luminance
0.4043

Every format

HEX#7abc3c
RGBrgb(122, 188, 60)
HSLhsl(91, 52%, 49%)
CMYKcmyk(35%, 0%, 68%, 26%)
LABlab(69.8 -41.8 55.7)
LCHlch(69.8 69.6 126.9)
OKLCHoklch(0.725 0.173 132.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#7abc3c on white: 2.31:1
AA ✗ fail · AA-large · AAA
Aa
#7abc3c on black: 9.09:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red47.8%
Green73.7%
Blue23.5%

CMYK percentages

Cyan35.1%
Magenta0.0%
Yellow68.1%
Key (black)26.3%

Color previews

#7abc3c text on a black background

contrast 9.09:1

Card sample

#7abc3c text on a white background

contrast 2.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #7abc3c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #7abc3c in the Color Lab