Skip to content

#8acb2f

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

RGB
138, 203, 47
HSL
85°, 62%, 49%
CMYK
32, 0, 77, 20
Luminance
0.4832

Every format

HEX#8acb2f
RGBrgb(138, 203, 47)
HSLhsl(85, 62%, 49%)
CMYKcmyk(32%, 0%, 77%, 20%)
LABlab(75.0 -43.3 65.8)
LCHlch(75.0 78.7 123.3)
OKLCHoklch(0.770 0.191 130.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#8acb2f on white: 1.97:1
AA ✗ fail · AA-large · AAA
Aa
#8acb2f on black: 10.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red54.1%
Green79.6%
Blue18.4%

CMYK percentages

Cyan32.0%
Magenta0.0%
Yellow76.8%
Key (black)20.4%

Color previews

#8acb2f text on a black background

contrast 10.66:1

Card sample

#8acb2f text on a white background

contrast 1.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(138, 203, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(138, 203, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #8acb2f;
background: linear-gradient(135deg, #8acb2f, #2FCB3C);

Monochromatic scale

Palettes built from #8acb2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #8acb2f in the Color Lab