Skip to content

#8abc3f

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

RGB
138, 188, 63
HSL
84°, 50%, 49%
CMYK
27, 0, 67, 26
Luminance
0.4173

Every format

HEX#8abc3f
RGBrgb(138, 188, 63)
HSLhsl(84, 50%, 49%)
CMYKcmyk(27%, 0%, 67%, 26%)
LABlab(70.7 -35.6 55.7)
LCHlch(70.7 66.1 122.6)
OKLCHoklch(0.735 0.162 128.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red54.1%
Green73.7%
Blue24.7%

CMYK percentages

Cyan26.6%
Magenta0.0%
Yellow66.5%
Key (black)26.3%

Color previews

#8abc3f text on a black background

contrast 9.35:1

Card sample

#8abc3f text on a white background

contrast 2.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #8abc3f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8abc3f in the Color Lab