Both the thickness and color (milky white, greenish, or yellow) of the discharge may vary. The discharge may result from an infection, including a sexually transmitted infection. Urethritis is the term used to refer to inflammation of the urethra due to any cause, which is often accompanied by penis discharge.