I have had similar situations and found the issues, at least in my situation, either to be a lack of dense lighting or very late generation clones (ie. a clone of a clone of a clone etc.) In either situation I have been able to harvest decent product but it usually is light in weight.

Here is some leaves with a magnesium deficiency
Attachment 281515
Note the yellowing with the brown spots.

JSG.