#bacf71
a balanced, vivid green · cool · closest name: khaki
RGB
186, 207, 113
HSL
73°, 50%, 63%
CMYK
10, 0, 45, 19
Luminance
0.5626
Every format
| HEX | #bacf71 |
| RGB | rgb(186, 207, 113) |
| HSL | hsl(73, 50%, 63%) |
| CMYK | cmyk(10%, 0%, 45%, 19%) |
| LAB | lab(79.8 -21.5 44.2) |
| LCH | lch(79.8 49.1 116.0) |
| OKLCH | oklch(0.818 0.122 119.5) |
Copy-ready code
/* CSS */
color: #bacf71;
background-color: #bacf71;
/* Tailwind (arbitrary) */
class="text-[#bacf71] bg-[#bacf71]"
/* SCSS */
$brand: #bacf71;
/* SwiftUI */
Color(red: 0.729, green: 0.812, blue: 0.443)
/* Android */
Color.parseColor("#bacf71")Accessibility — WCAG contrast
Aa
#bacf71 on white: 1.71:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bacf71 on black: 12.25:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green81.2%
Blue44.3%
CMYK percentages
Cyan10.1%
Magenta0.0%
Yellow45.4%
Key (black)18.8%
Color previews
#bacf71 text on a black background
contrast 12.25:1
Card sample
#bacf71 text on a white background
contrast 1.71:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bacf71;
Background color
Panel with #bacf71 background
background-color: #bacf71;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bacf71;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 207, 113, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 207, 113, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bacf71; background: linear-gradient(135deg, #bacf71, #7BCF71);