Search code examples
colorsaccessibility

How do I indicate success and failure with colour?


I need to make a Java component that turns the background a certain colour when a process passed, and another colour when the process failed.

My first thought was: green for success, red for failure.

But then I read that 10% of males can't differentiate between these two colours. What would be a better combination of colours?

(For the nitpickers: yes, I know that colour alone doesn't suffice, that text, shape, and noise can also be used. Nevertheless I am asking about the appropriate use of colour.)


Solution

  • alt text Red + x = Failure

    alt text Green + checkmark = Success