legitimacy (n.)youdaoicibaDictYouDict
1690s, of children; general use by 1836; see legitimate + -cy. Legitimateness an earlier word for it.