Question: what is the main relationship between temperature and star luminosity or brightness?
Answer: A star's brightness, or luminosity, depends on the star's surface temperature and size. If two stars have the same surface temperature, the larger star will be more luminous. The Hertzsprung-Russell (H-R) diagram below is a scatter plot that shows the relative temperatures and luminosities of various stars.