the Star Wars episode of the show "The Toys That Made Us" gives the exact number: the royalty rate is given as 18% in the 1990s by the lawyer who negotiated with Lucasfilm (before that it was a mere 5% and George Lucas was very unhappy about that deal), and back then this was the most expensive toy licensing agreement ever