Skip to content

#6fac2f

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

RGB
111, 172, 47
HSL
89°, 57%, 43%
CMYK
36, 0, 73, 33
Luminance
0.3309

Every format

HEX#6fac2f
RGBrgb(111, 172, 47)
HSLhsl(89, 57%, 43%)
CMYKcmyk(36%, 0%, 73%, 33%)
LABlab(64.2 -39.7 54.8)
LCHlch(64.2 67.7 125.9)
OKLCHoklch(0.678 0.166 132.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#6fac2f on white: 2.76:1
AA ✗ fail · AA-large · AAA
Aa
#6fac2f on black: 7.62:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red43.5%
Green67.5%
Blue18.4%

CMYK percentages

Cyan35.5%
Magenta0.0%
Yellow72.7%
Key (black)32.5%

Color previews

#6fac2f text on a black background

contrast 7.62:1

Card sample

#6fac2f text on a white background

contrast 2.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #6fac2f;
Background color
Panel with #6fac2f background
background-color: #6fac2f;
Text shadow — hex

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(111, 172, 47, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(111, 172, 47, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6fac2f;
background: linear-gradient(135deg, #6fac2f, #2FAC42);

Monochromatic scale

Palettes built from #6fac2f

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #6fac2f in the Color Lab