There might be wiggle room on that as Yoda looks a tad younger in TLJ, or at least happier.
Luke probably didn’t know what young Anakin even looked like at the time, but Kylo worships his grandfather so either form could appear to him and make more sense than the SE change.