That's Captain Caveman, a Hannah-Barbara character that has had his own game, a weird Scooby-Doo formula mystery show, and was a show within a show in Flinstone Kids.
Hannah-Barara REALLY liked milking things.
Still do, technically.
They have a bunch of Scooby-Doo clones, a good amount of Herculoids like shows, a bunch of Scoony-Doo series and movies. (Zombie Island is the best Scooby-Doo movie.), and a oddly large amount if Flinstones series.