At high voltage, energy between 1 and 10 Jules is considered dangerous. Over 15 kV the safety limit is 350 milli Joules. It's difficult to estimate a general value, but in ac mains even 1 micro Farad could kill, at 400 volts dc 125 micro F could probably be fatal and 1250 micro Farads is dead.