LTCG tax rate is based on your AGI (adjusted gross income) not your wage income.
Capital gains "count" towards your AGI, so if you have $10M in capital gains and $150K in wage income and nothing else, your AGI is $10,150,000 and your LTCG are taxed at 23.8% (20% + 3.8% surtax).