Peel color is an important appearance quality of melons that greatly affects consumer preferences. In this study, a near-isogenic line NIL-G (dark green peel) was generated from B8 (grey-green peel) and B15 (white peel). The F2 population constructed by crossing NIL-G and B15 was used to study the inheritance pattern of peel color, and bulked-segregant analysis sequencing (BSA-seq) was employed to identify the interval in which the target gene was located. Genetic analysis results showed that the dark green peel trait at maturity is controlled by a dominant gene. BSA-seq and molecular markers were used to localize the candidate gene in a 263.7 kb interval of chromosome 4, which contained the CmAPRR2 gene with known functions. Moreover, allelic sequence analysis revealed four SNP variations of the CmAPRR2 gene in B15, of which SNP.G614331A was located at the junction of the 6th exon and 6th intron. The G-to-A mutation caused alternative splicing of the transcript of CmAPRR2 in B15, generating two transcripts (CmAPRR2-A and CmAPRR2-B) with premature termination codons. Furthermore, the Kompetitive Allele Specific PCR (KASP) marker, APRR2-G/A, was developed based on this SNP and shown to co-segregate with the peel color phenotype in the F2 population. Compared to white-peel B15, the expression level of CmAPRR2 in dark green peel NIL-G was higher at each growth stage. Therefore, CmAPRR2 may be the key gene controlling the fruit color of melons. Overall, this study identified a novel allelic variant of CmAPRR2 that leads to white peel formation in mature melons. The study also provides a theoretical basis for further research on the gene regulatory mechanism of melon peel colors and may promote the future use of molecular marker-assisted selection to modify melon peel colors.