You don't say what you are connecting to the TV but the standard colors are:
Red = Right Audio
White = Left Audio
&
Yellow = Composite Video
OR
Green - Y Component Video
Blue - Pb Component Video
Red - Pr Component Video
If the cables are identical then just make sure they are the same at both ends. I would mark them at each end to make it easier. If the video cables are different (usually larger in diameter) then make sure to use video for video & audio for audio.