The present invention relates to compounds of general formula (I):wherein Y, R1, R2 and R3 are as defined in the specification.The invention also relates to cosmetic or dermocosmetic composition containing such compounds.The compounds according to the invention are useful as photoprotective agents.