Skip to content

#bacf7c

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

RGB
186, 207, 124
HSL
75°, 46%, 65%
CMYK
10, 0, 40, 19
Luminance
0.5652

Every format

HEX#bacf7c
RGBrgb(186, 207, 124)
HSLhsl(75, 46%, 65%)
CMYKcmyk(10%, 0%, 40%, 19%)
LABlab(79.9 -20.3 38.9)
LCHlch(79.9 43.9 117.5)
OKLCHoklch(0.820 0.110 120.5)

Copy-ready code

/* CSS */
color: #bacf7c;
background-color: #bacf7c;
/* Tailwind (arbitrary) */
class="text-[#bacf7c] bg-[#bacf7c]"
/* SCSS */
$brand: #bacf7c;
/* SwiftUI */
Color(red: 0.729, green: 0.812, blue: 0.486)
/* Android */
Color.parseColor("#bacf7c")

Accessibility — WCAG contrast

Aa
#bacf7c on white: 1.71:1
AA ✗ fail · AA-large · AAA
Aa
#bacf7c on black: 12.30:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red72.9%
Green81.2%
Blue48.6%

CMYK percentages

Cyan10.1%
Magenta0.0%
Yellow40.1%
Key (black)18.8%

Color previews

#bacf7c text on a black background

contrast 12.30:1

Card sample

#bacf7c text on a white background

contrast 1.71:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

text-shadow: 0 0 14px rgba(186, 207, 124, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 207, 124, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bacf7c;
background: linear-gradient(135deg, #bacf7c, #83CF7C);

Monochromatic scale

Palettes built from #bacf7c

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #bacf7c in the Color Lab