Line an 8-inch square pan with parchment paper.
In a small food processor, add the oats, coconut and a pinch of salt. Pulse about seven or eight times until the oats are broken down and coarsely ground. Transfer to a large bowl.
Next, melt the coconut sugar into the coconut oil in a microwave safe bowl (about 20 seconds).
Pour the coconut oil mixture over the oats and stir to combine.
Divide the oat mixture in half and press half of it firmly into the bottom of the pan.
Next, in a microwave-safe bowl, combine the peanut butter and dark chocolate. Heat at 50 percent power, stopping every 30 seconds to stir. Remove the bowl from the microwave before everything is totally melted, about 90 seconds total. Let rest on the counter, stirring occasionally until smooth.
Pour the chocolate-peanut butter mixture on top of the crust, then sprinkle the remaining oat mixture over that.
Cover and refrigerate for at least 4 hours, or until firm.
Store these bars in the fridge for up to 2 weeks.