This question already has an answer here:
So I remember this show that was based in a space station (more like a hub with no political affiliations) some of the main characters were doctors, and the thing today's sticking out to me is that everyone had to have a gem implanted I their hand and the colour of that gem dictated who you could marry/date.
This was a live action series, colour, in America. Started in like the 90s. No idea how long it ran.
Sorry I'm not giving a lot of information.
Edit: So it might be Island City, I'm going to watch the whole thing to make sure, but I really appreciate you guys thinking about this. I guess I can't trust my little kid memories.
Final edit! That was it! Thanks everyone for the help. Convinced that they need to remake it. It was awesome.