The differences in earlobe color of Jiangshan black-bone chickens have been reported to be caused by the combined effects of melanin and collagen. In this study, we conducted LC-MS untargeted metabolomics and 16S rDNA diversity sequencing on the cecal contents of two types of earlobes: peacock green (Blue and Green group) and dark reddish-purple (Black group). The metabolomic sequencing identified a total of 747 differential metabolites (DMs), in which the metabolites were primarily enriched in tyrosine and tryptophan metabolism pathways between peacock green and dark reddish-purple earlobes. There were 15 different bacterial taxa among the three groups of earlobes at the genus level, and correlation analysis between metabolites and microbes revealed that the DMs between peacock green and dark reddish-purple earlobes were positively correlated with the different bacterial taxa. In short, there are differences in gut microbiota and metabolites between Jiangshan black-bone chickens with peacock green earlobes and those with dark reddish-purple earlobes. Our results suggest that the bacterial phyla Firmicutes and Bacteroidota may influence melanin synthesis by affecting tryptophan metabolism, induced by 5-Methoxyindoleacetate, and tyrosine metabolism, induced by maleylacetoacetic acid and maleic acid, leading to differences in earlobe color.