Mix the yogurt, mayonnaise and lemon juice together until smooth. Finely chop the onion in a food processor or with a knife. Season with salt and pepper to taste. Refrigerate for about an hour or until set. You can use it right away, but the flavor comes out better if it sets.