Skip to content

#8abc3c

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

RGB
138, 188, 60
HSL
83°, 52%, 49%
CMYK
27, 0, 68, 26
Luminance
0.4170

Every format

HEX#8abc3c
RGBrgb(138, 188, 60)
HSLhsl(83, 52%, 49%)
CMYKcmyk(27%, 0%, 68%, 26%)
LABlab(70.7 -35.9 56.9)
LCHlch(70.7 67.2 122.2)
OKLCHoklch(0.735 0.164 128.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8abc3c on white: 2.25:1
AA ✗ fail · AA-large · AAA
Aa
#8abc3c on black: 9.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green73.7%
Blue23.5%

CMYK percentages

Cyan26.6%
Magenta0.0%
Yellow68.1%
Key (black)26.3%

Color previews

#8abc3c text on a black background

contrast 9.34:1

Card sample

#8abc3c text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8abc3c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8abc3c in the Color Lab