Heart failure and jaundice is not related. However the drinking is related to the swollen legs and skin. He should quit further drinking otherwise it might cause the lever failure.
There are more than 38 causes for yellow skin. Get him to a doctor somehow . I can not give you an answer for this question because I am not a doctor.