曜 ('to shine') was the classical word for the seven luminaries of premodern astronomy - sun, moon, and five visible planets. The same character names the days of the week in Japanese (
月曜日 'Monday',
火曜日 'Tuesday', etc.), preserving the old Chinese system Japan inherited.