In what context is our Sun often referred to as a yellow dwarf?

Answer

When comparing its current stable size against the much larger giants it will eventually become

The Sun, a yellow dwarf, is classified this way relative to the enormous giants and supergiants it will eventually swell into after exhausting its core hydrogen fuel.

In what context is our Sun often referred to as a yellow dwarf?
astronomydwarfstarsstellar classification