Chemical composition affects the Hayashi track in a few ways. The track depends strongly on the atmosphere's opacity, and this opacity is dominated by the H- ion. The abundance of the H- ion is proportional to the density of free electrons, which, in turn, is higher if there are more metals because metals are easier to ionize than hydrogen or helium.