You can only go as high as the lower operating system domain controller (i.e. 2012) DFL. To raise the forest functional, all the domain controllers in the forest must be running the Windows Server operating system version that corresponds to the desired forest functional level and the current domain functional level must already be at the newest level.
--please don't forget to upvote
and Accept as answer
if the reply is helpful--