Some cellulose is made out of wood pulp and wood fiber. In any event, when cellulose is extracted (as cellulose is the fundemental building block of most plant matter), a compound called "Lignin" is also extracted. It is Lignin that, with heat and age, turns stuff made from plant material - such a cellulose, paper, and even linen - yellow. In fact, over time, Lignin transforms into a compound known as Vanillin...which is the key compound of vanilla.
Most ancient fabrics, made of cotton of flax, eventually yellow with age if not continually bleached. It's one of the reasons why the Shroud of Turin has a yellowish hue, because it is made up of flax fibers. It's also the reason why your newspaper will yellow within a few years, especially if it's exposed to the sunlight (remember: heat transforms the stuff), because wood pulp has significant amounts of Lignin in it.
As an FYI, most artificial vanilla extracts are made from wood, as the Lignin and Vanillin levels are quite high.