The license that prompts me to ask this question is http://nonwhiteheterosexualmalelicense.org/. I found out about it through this HN story: https://news.ycombinator.com/item?id=9862362. At least one project appears to use it seriously rather than as a troll.
Could you run into legal trouble by having software with this license at work or sharing it with your coworkers?
1. Ask a friend who is not {male,white,hetero} to fork it on github
2. They make a small change
3. They change the license from this to MIT/BSD/GPL/whatever
Regardless of the legal status of the license, it only (ostensibly) has any effect on straight, white males who know only straight, white males.
(Also I find it mildly disapointing that it makes no mention of trans people, as a straight white trans man would also be "excluded" by this license)