Comprehensive answer:
(diagram near the bottom of the page)
Short answer:
Normally, the colors you should see in the wall are the orange/white pair and the blue/white pair. The green/white pair is usually Line 3.
The wires should be paired, so that orange with white stripes goes with white with orange stripes, and so forth. You have to figure out (or decide) which of these pairs is Line 1 and which is Line 2 for purposes of your jack.
LINE 1: red wire mostly colored (white stripes) green wire mostly white (colored stripes)
LINE 2: yellow wire mostly colored (white stripes) black wire mostly white (colored stripes)
In the phone plug itself, Line 1 is the middle-most pair, and then Line
2 is the wires on either side.