EPA says a gallon produces 8.8 kg CO2/gal tailpipe emissions [0]. A best-case sedan does about 50 mi/gal [1]. That's 17.6 kg CO2/100 mi for a best case sedan.
A Tesla Model 3 uses about 25 kWh/100 mi [2]. 1 kWh produces about 1 kg CO2 when produced in the dirtiest way (coal), but in the US it's currently about 0.4 kg CO2/kWh on average [4]. That gives you 10-25 kg CO2/100 mi.
So the best case ICE is better only if you are producing the electricity from coal (even gas power is better than ICE). The nice thing about EVs is that you can often charge them with the cleanest power (e.g. solar), but I'm not sure how common that optimization is.
[0]: https://www.epa.gov/greenvehicles/greenhouse-gas-emissions-t... [1]: https://www.fueleconomy.gov/feg/findacar.shtml [2]: https://www.fueleconomy.gov/feg/Find.do?action=sbs&id=46206 [3]: https://www.eia.gov/tools/faqs/faq.php?id=74&t=11 [4]: https://app.electricitymaps.com/zone/US/12mo/monthly