Yang Wenguang (; died 1074) was a general in ancient China's Northern Song dynasty.
Historically, Yang Wenguang is the grandson of Yang Yanzhao and Princess Chai; and the great grandson of Yang Ye which are depicted in the various stories of Yang clan warriors.
In 1044, Fan Zhongyan was dispatched to the Shaanxi area and met with Yang Wenguang. He was impressed and took Yang as his subordinate. In 1052, Yang Wenguang followed Di Qing in the expedition to Guangxi and helped defeat Nong Zhigao's rebellion. Afterwards he was promoted by Emperor Yingzong. Later, he built several forts in Shaanxi and successfully resisted several Western Xia invasion attempts. During Emperor Shenzong's reign, he was stationed in Dingzhou. He offered the emperor his strategy on recovering lost territories from the Khitans shortly before he died at the frontier.
In fiction, Yang Wenguang is the son of Yang Zongbao and Mu Guiying.