Quite possibly an oil sending unit problem. As the engine is at idle and thr rpm's are down it recordes a lower pressure. As you increas the rpm,s the pressure naturally builds and hence the light will go off. As long as there is no difference in engine temperature and no misfire almost certain it is the oil sending unit. This was a common problem for some older Gm products.