Half is taxable
Only half of a capital gain is taxable. A gain is taxed when it is realized, not while it builds. Interest is different. Interest and most foreign income are taxed in the corporation at high rates, and they count fully toward the $50,000.