Optical and EUV observations of solar flare kernels