Your morning brew might be one of the main culprits behind your stained teeth. Coffee contains tannins, a type of chemical compound called a polyphenol, that can cause color compounds to stick to your teeth.