Picking through dried beans - many discoloured ones - moldy?
The beans in your photo simply look old and/or low-quality (the farmer didn't pick out the bruised &amp; marked ones).  They should cook fine, but they might not turn out as well as you'd like.  If you have another bag of beans you can use that's better quality, and time, I'd swap it in.  Or you could just pick out the discolored ones.

If you want to be really cautious, you could taste one of the discolored beans.  If it's actually moldy, you'll be able to taste it in the soaked, raw state; it will have a musty or cheesy flavor.