The top answer makes a substantial omission. Red-green color vision deficiency is not even considered (the most common one).
In this case blue and green are excellently distinguishable, but red and green not in every case. The color chart is not really easy to distinguish at all.
Also even if common, color blind is a misnomer, because usually people see those colors, just that certain shades have a higher contrast than others. And colors
Colors that are not clearly distinctdistinguishable for "normal" vision, can be clearly distinguishable for people with so called color vision deficiency (such as more shades of yellow).
So, in real it's more of a preferred color depending on your way to view. "Normal" vision is not necessarily the more complete vision, just the commonly shared color palette most people perceive equally well.
The key to good color selection is to use high contrast, and avoid using non primary colors. This gives the best results. If you need more than 5 colors, you should use other ways to clearly distinguish information. It should be clearly and easily distinguishable if you view it in grayscale. That works for everyone.