Black olives and green olives are two different types of olives. They have different flavors, so you can't really replace one with the other. If you're looking for a similar flavor, you could try using Kalamata olives instead of black olives.