#bacf8c
a light, soft green · cool · closest name: khaki
RGB
186, 207, 140
HSL
79°, 41%, 68%
CMYK
10, 0, 32, 19
Luminance
0.5696
Every format
| HEX | #bacf8c |
| RGB | rgb(186, 207, 140) |
| HSL | hsl(79, 41%, 68%) |
| CMYK | cmyk(10%, 0%, 32%, 19%) |
| LAB | lab(80.2 -18.3 31.0) |
| LCH | lch(80.2 36.0 120.5) |
| OKLCH | oklch(0.823 0.092 122.6) |
Copy-ready code
/* CSS */
color: #bacf8c;
background-color: #bacf8c;
/* Tailwind (arbitrary) */
class="text-[#bacf8c] bg-[#bacf8c]"
/* SCSS */
$brand: #bacf8c;
/* SwiftUI */
Color(red: 0.729, green: 0.812, blue: 0.549)
/* Android */
Color.parseColor("#bacf8c")Accessibility — WCAG contrast
Aa
#bacf8c on white: 1.69:1
AA ✗ fail · AA-large ✗ · AAA ✗
Aa
#bacf8c on black: 12.39:1
AA ✓ pass · AA-large ✓ · AAA ✓
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red72.9%
Green81.2%
Blue54.9%
CMYK percentages
Cyan10.1%
Magenta0.0%
Yellow32.4%
Key (black)18.8%
Color previews
#bacf8c text on a black background
contrast 12.39:1
Card sample
#bacf8c text on a white background
contrast 1.69:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #bacf8c;
Background color
Panel with #bacf8c background
background-color: #bacf8c;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #bacf8c;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(186, 207, 140, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(186, 207, 140, 0.45);
Border & gradient
Gradient panel
border: 3px solid #bacf8c; background: linear-gradient(135deg, #bacf8c, #8DCF8C);