These are the specifications listed on the Steam page for Team Fortress 2.
Minimum: 1.7 GHz processor, 512 MB RAM, DirectX 8.1 level graphics card (SSE support required), Windows 7 (32/64-bit), Vista or XP, mouse, keyboard, internet connection.
Recommended: Pentium 4 processor at 3.0 GHz or better, 1 GB RAM, DirectX 9 level graphics card, Windows 7 (32/64-bit), Vista or XP, mouse, keyboard, internet connection.
Minimum: OS X Leopard 10.5.8 or Snow Leopard 10.6.3, 1 GB RAM, NVIDIA GeForce 8 or higher, ATI X1600 or higher, or Intel HD 3000 or higher, plus mouse, keyboard and an internet connection.