Temperatures are expected to rise to around 40 degrees Celsius on Sunday afternoon inland, according to a new yellow weather warning for extreme maximum temperature issued by the Meteorology Department.