The difference between the yellow and green is pretty obvious if you look at them, the green ones have 5 pins and they contain a changeover contact and the yellow only have 4 pins as they are a simple make/break. Relay 17 is an oddball as it has 4 pins but has a dual contact internally to carry the higher power needed by the ABS pump. It looks like at least 3 of your yellow ones need to be replaced, they've been getting hot.
Just for information's sake......
The relays, other than #17 are nothing special. They are standard automotive cube relays available anywhere. (try for a non Chinese make). The colour coding is just a cute LR thing.
Further, in a pinch, the extra pin on a 5 pin can be carefully snapped off, and you have a perfectly serviceable 4 pin relay.
Actually if you look at the picture on the relays you'll notice something special. There is either a diode or resistor in parallel with terminals 86/85 that is meant for back EMF suppression. This is to prevent voltage spikes making their way back to the BECM to prevent any damage. I would probably warn against using one that isn't protected. I usually just find a bunch of them at the local junk yard and stock up.
I picked up a couple black relays from AB, I have no idea on their quality. They have no brand or country of origin. I placed an order for the yellow wherle’s from lk8 I believe they are the makers of the oem versions.
I will change the greens and abs relays next month.