Using 2018 numbers, if total income from all sources is less than $101,200 then you can harvest gains at 0% federal tax rate.
If income is higher than that, then you will pay 15%+. State taxes and ACA subsidy reduction may also apply.
Why is your pension not taxed?