Complex sentence: Citizens of the city notably wore a colored crystal on their neck and could only mate with other citizens of the same color, which was based on the individual's genetic makeup.
Split into simpler sentences: Citizens of the city would wear a colored crystal on their neck and could only mate with other citizens of the same color. The color of the crystal was based on the individual's genetic makeup.