An ancient custom in China (saying that Huang and two surnames can't get married)
(1) lineal blood relatives and lineal in-laws;
(2) collateral blood relatives are within the sixth degree, but those collateral blood relatives established by adoption are peers;
(3) kinship within five degrees of collateral in-laws, peers are not subject to this restriction.
After the founding of New China, 1950 Marriage Law prohibited direct blood relatives, brothers and sisters, half-brothers or half-sisters from getting married, and stipulated that collateral blood relatives were prohibited from getting married within five generations. 1980 Marriage Law not only retains the prohibition of direct consanguineous marriage, but also explicitly prohibits collateral consanguineous marriage within three generations. The revision of the marriage law has not changed the scope of prohibiting consanguineous marriage. In other words, there are two kinds of blood relatives who are forbidden to get married in the marriage law:
(1) lineal blood relatives. Including parents and children, grandparents, grandparents and grandchildren, grandchildren. In other words, a father can't marry his daughter, and a mother can't marry her son as a husband. Grandpa can't marry a granddaughter, and grandma can't marry a grandson.
(2) collateral blood relatives within three generations. Including: (1) brothers and sisters of both parents (including half brothers and sisters). That is, children of the same parents cannot get married. (2) uncles, uncles, aunts, aunts and nephews of different generations. Is that an uncle can't marry his brother's daughter; Aunt can't marry her brother's son; Uncle can't marry his sister's daughter; Menstruation can't marry my sister's son.
(Excerpted from Interpretation of Marriage Law of the People's Republic of China)