The roasting time and caffeine content correlate. When you expand the roasting time, the caffeine level goes down. Essentially, darker roasts are richer in flavor, but they hold less caffeine level.