Are capital gains included in income if total income will be under the $90000 level for joint return, or does it not have to be included in income calculations?

Total income for year is 66000, including 16000 in capital gains. This amount of gains has dropped my refund amount by over 1500 but should not be taxed if income is under the approximately 90000 joint level that it is.