As of 2018, capital gains rates are no longer tied directly to income tax brackets. The following includes the tax income and LT cap gain rates for individuals:
Income Income Tax STCG LTCG
$0 to $9,525 10% 10% 0%
$9,526 to $38,600 12% 12% 0%
$38,601 to $38,700 12% 12% 15%
$38,701 to $82,500 22% 22% 15%
As you can see, individuals with total income up to $38,600 are in the 0% capital gains bracket, while those who earn just a bit more ($38,601 - $38,700) are in the 15% capital gains bracket.
Short term capital gains are from assets held less than one year. They are taxed as ordinary income.
Qualified dividends are taxed at the same rate as long-term capital gains.
Here's a Capital Gains calculator:
If you plug in numbers that add up to a $50,600 LT cap gain, it shows that the tax due is zero.
Disclaimer: Consult with a qualified accountant