Little is known about Consort Yang's background, as there was no biography of her among the biographies of the empresses and imperial consorts in either the Old Book of Tang or the New Book of Tang. However, in an allegation that Emperor Wenzong's brother Emperor Wuzong later made against her and the chancellorYang Sifu, Emperor Wuzong stated that Yang Sifu had written a letter to her urging her to assume regency as an empress dowager in which Yang Sifu referred to her as an aunt. This allegation, if true, would suggest that she was a daughter of Yang Sifu's grandfather Yang Taiqing, who served as a county magistrate, and a sister to Yang Sifu's father Yang Yuling, who was an honored official during the reign of Emperor Wenzong's father Emperor Muzong.
As imperial consort
It is not known when Consort Yang became Emperor Wenzong's concubine, but it is known that as of 837, she was an imperial consort with the rank of Zhaorong, the sixth highest rank possible for imperial consorts. In 837, she was promoted to the rank of Xianfei, the fourth highest rank for imperial consorts, while fellow imperial consort Consort Wang, the mother of Emperor Wenzong's oldest son Li Yong, was promoted from the rank of Zhaoyi to Defei . There was no indication as to whether she was involved in Yang Sifu's becoming chancellor in 838. By 838, it was said that Consort Wang, who was not favored by Emperor Wenzong, had been killed at Consort Yang's instigation after Consort Yang made false accusations against her. It was further said that Li Yong, who was then crown prince, himself favored games and feasting and had become close to scoundrels, leading to Consort Yang's continually making accusations against him. As a result, in 838, Emperor Wenzong put Li Yong under arrest and convened a group of high-level officials, announcing that he was intending to depose Li Yong from his position as Crown Prince. The officials and eunuchs largely opposed the move, and Li Yong was at that time spared, although a large number of his associates were executed. After Li Yong's death, Consort Yang repeatedly recommended Emperor Wenzong's younger brotherLi Rong the Prince of An as the new crown prince. When Emperor Wenzong asked for the chancellors' opinions, however, Li Jue opposed this, so Emperor Wenzong instead created Li Chengmei the Prince of Chen, the son of his older brother Emperor Jingzong, as Crown Prince.
Death
In spring 840, Emperor Wenzong grew seriously ill, and he had Yang Sifu and Li Jue summoned to the palace, intending to entrust Li Chengmei to them. However, the powerful eunuchs Qiu Shiliang and Yu Hongzhi, who had no input in Li Chengmei's being made crown prince, opposed Li Chengmei. They forged an edict in Emperor Wenzong's name deposing Li Chengmei and naming another younger brother of Emperor Wenzong's, Li Chan the Prince of Ying, crown prince. After Emperor Wenzong died soon thereafter, Qiu persuaded Li Chan, then still carrying the title of Crown Prince, to issue an order that Consort Yang, Li Rong, and Li Chengmei commit suicide.