I've been using the yellow on fuel (gasoline) fittings for many years, including adding to an AN fitting that leaked a bit.

It may not have been made for gasoline but I've never an issue with it failing yet.

My roll of yellow is so old there's no label on it anymore, but it was whatever was at Home Depot at the time.