Some people have naturally yellow teeth because of tooth anatomy, genetics or enamel thickness. Not all yellow teeth are due to poor brushing or staining.
Naturally thin enamel
The outer layer of your tooth, called the enamel, is translucent. Underneath it is dentin, which naturally has a yellow color. If someone has thinner or more translucent enamel, more of the yellow dentin shows.
Yellow teeth are not necessarily a sign of poor oral hygiene.
Genetics
Genetics can play a role in enamel thickness, dentin color, tooth structure and translucency. Some people genetically have thinner enamel or darker dentin, so their teeth naturally look more yellow.
Aging
As we age, enamel gradually wears down. Dentin continues to deposit inside the tooth. The dentin becomes more prominent visually, and teeth can appear more yellow.
What you eat and drink
Coffee, tea, red wine, tobacco and dark colored foods cause extrinsic staining. These stains accumulate on the outer enamel surface, which can make teeth look yellow.
Medications and developmental conditions
Some causes are tetracycline exposure during tooth development, and excessive fluoride exposure during enamel development, which is known as dental fluorosis. It could also be enamel hypoplasia or dentinogenesis imperfecta.