Focal linear hyperpigmentation is commonly due to phytophotodermatitis, which is a phototoxic reaction that results from ultraviolet light combined with psoralens (specifically furocoumarins) in plants (eg, limes, parsley, celery— see Chemical photosensitivity).