Red-green deficiency (protanopia, deuteranopia) is by far the most common, which is why the classic red/green success-failure UI pattern reads as nearly the same color to a large share of users. Blue-yellow deficiency (tritanopia) is rarer but confuses blue and yellow.
The demo below approximates each type with an SVG feColorMatrix filter — not clinically precise, but close enough to build intuition. All four groups share the exact same underlying colors; only the filter changes.
The fix isn't removing color, it's not depending on it alone — pair success/failure with an icon or text, add patterns or labels alongside color in charts, and underline links instead of relying on color to mark them.
When to use
Check this before shipping anywhere color is the only channel carrying meaning — status states, chart legends.