Matching shoes with colors

How can I know when to wear black shoes or brown shoes so that it matches with what I am wearing? I know how to use the color wheel to match colors. But since the color wheel doesn’t have black and brown on it, I’m not sure what shoes to wear with certain colors. For example, with a green shirt, I’m pretty sure brown shoes would work, but would black also be acceptable?