Turn of the century vintage wall mount coat and hat rack - this must have been a beautiful thing originally, it's solid oak with great big iron hooks.
The yellow paint looks like a 1950s remake, the paint is now almost antique in its own right. I've left this just as I found it.
This measures about 7 1/2" tall, the back board is 28" long. One end of the clothes hanging bar has been cut short, presumably to fit this snugly into a corner space.