Cat 5 ethernet uses pins 1,2 as one pair White-Orange / Orange per T568B and 3,6 White-Green / Green respectively; FYI, 4,5 and 7,8 although unused for ethernet networking, should Blue / White-Blue, White-Brown / Brown, respectively.
Patch panel (or hub) to jack, is a straight-through configuration, i.e. use the same scheme on both ends.
There's plenty of material on the net, just do a search for something like "EIA/TIA 568 Category 5 T568B"; here's one-such reference I found at random which appears to have the text of the actual specification, as well as the two color-coding diagrams, http://www.frostelec.com/568.html. Or a lot of wiring/connector suppliers have reference material on their sites as well. There are two color-coding configurations, T568A or T568B (our company uses T568B).
--Charlie