It's not as rare as a person would think... I have had this happen with my dogs but the other way around... My dogs are pure Parkers which are primarily black or brindle. there has been 2 breedings and both times I got 3 yella outta 9 pups. This is pretty rare, so to insure they were indeed pure parkers I had DNA testing done the first time it happened.
Two black dogs can produce A few yellows in a litter...if both carry the recessive for yellow....
And if the dogs bred bred are truly yellow they cannot produce black pups....