"Yes, sir." since "sir", like "mister" and "miss", is not capitalized unless it refers to someone in particular (Sir Galahad).