Hello jakim!
If I'm not mistaken, the moisture content of construction timber should be below 17%.
The moisture content is affected as soon as the timber leaves the kiln. In winter, the air humidity is lower, while in summer it's higher. Therefore, the duration the timber is stored at the worksite matters.
From your description, however, I don't believe that the moisture content of the timber is the sole reason for the mold infestation. If I understand correctly, the roof decking is visible from the inside of a cold attic. It is very important that these attics are properly ventilated. Otherwise, they suffer from the same problems as crawl spaces during the summer months, i.e., warm, humid air condenses inside the attic.
Make sure the roof is properly ventilated, and you should be able to resolve the issues.