I looked at your owners manual online and your vehicle takes Dexron III A/T fluid. To see the owners manual click the link.
dexron 3
40wt transmission fluid 40wt transmission fluid
The 2013 Subaru Legacy has double overhead cam (DOHC).
The 2009 Subaru Legacy has single overhead cam (SOHC).
The 2001 Subaru Legacy has single overhead cam (SOHC).
The 2005 Subaru Legacy has single overhead cam (SOHC).
The 2004 Subaru Legacy has single overhead cam (SOHC).
The 2003 Subaru Legacy has single overhead cam (SOHC).
The 2007 Subaru Legacy has single overhead cam (SOHC).
The 2006 Subaru Legacy has single overhead cam (SOHC).
The 2002 Subaru Legacy has single overhead cam (SOHC).
The 2011 Subaru Legacy has single overhead cam (SOHC).