How old are you today? (Trying to understand your investment time horizon between today and you being 50 yo.)
FYI, today there is no capital gains tax if your income is below about $70,000. And 72(t) rules can help you access money you contribute in your 401k / IRA before you turn 59.5 years old. So you should have more flexibility than you might think when accessing funds.