I have a friend who can't tell green from yellow under the best conditions.
I have a friend who has trouble with green-yellow-brown and sometimes purple.
Would a magnifier with light help your relative? You could cap sense fingers close or not to turn the light on and off.
Something like a jeweler's loupe would make a thread look as wide as a finger. It might take that much for the color sensor to work.