The Huddersfield males aged 15 and 17, were sentenced at Leeds Crown Court for the murder of 17-year-old Harley Brown in February this year.
One of the males can now be named as Zak Robinson (17) from Dalton in Huddersfield. The other teenager cannot be named for legal reasons.