Hi;
welcome to HealthcareMagic
The yellow layer on the penis between the glance(head of penis) and the skin over it is called
smegma.It occurs in people who are not circumcised and is due to residue of few drops of urine & few drops of semen getting collected between the place.Keep cleaning & washing the area daily with water and you will not have any problems .Please don't worry.
Thanks