It’s 2019 and lets face facts: behavior that might have been tolerated in the 1970s and 1980s aren’t tolerated today.
Thankfully, I’ve worked on my own for the last 10 years, so I don’t have to deal with the day to day nonsense that goes on with being an employee (there is a reason I went out on my own). If you have employees, understand their perspective and understand their feelings. They might not think your joke is funny and how you handle some sensitive topics as a joking matter.
You’re running a business, not a locker room. If you want to continue with the approach that it is, don’t be surprised if you get caught up in a joke that went awry and led to an EEOC complaint or litigation.