While Ralph can shapeshift in a literal sense, nothing about his ability allows him to change his skin's color so impersonating Warden Wolfe would have been impossible.
When Ralph comes in to Star Labs, he says he ran into an "old business partner" and starts describing him, but never mentions his name. Then, Caitlin refers to him by name as Earl.