The empirical examples of the green-beard genes, once a conundrum of evolutionary biology, are accumulating, while theoretical analyses of this topic are occasional compared to those concerning (narrow-sense) kin selection. In particular, the recognition error of the green-beard effect that the cooperator fails to accurately recognize the other cooperators or defectors is readily found in numerous green-beard genes. To our knowledge, however, no model up to date has taken that effect into account. In this article, we investigated the effect of recognition error on the fitness of the green-beard gene. By employing theories of evolutionary games, our mathematical model predicts that the fitness of the green-beard gene is frequency dependent (frequency of the green-beard gene), which was corroborated by experiments performed with yeast FLO1. The experiment also shows that the cells with the green-beard gene (FLO1) are sturdier under severe stress. We conclude that the low recognition error among the cooperators, the higher reward of cooperation, and the higher cost of defection confer an advantage to the green-beard gene under certain conditions, confirmed by numerical simulation as well. Interestingly, we expect that the recognition error to the defectors may promote the cooperator fitness if the cooperator frequency is low and mutual defection is detrimental. Our ternary approach of mathematical analysis, experiments, and simulation lays the groundwork of the standard model for the green-beard gene that can be generalized to other species.