A camera optical lens includes, from an object side to an image side, a first lens, a second lens, a third lens, a fourth lens, a fifth lens, a sixth lens, and a seventh lens. The camera optical lens satisfies: −4.50≤f4/f≤−2.00, and 0.65≤d5/d6≤19.50, where f denotes a focal length of the camera optical lens, f4 denotes a focal length of the fourth lens, d5 denotes an on-axis thickness of the third lens, and d6 denotes an on-axis distance from an image-side surface of the third lens to an object-side surface of the fourth lens. The camera optical lens has a good optical performance and meet the design requirements of being ultra-thin and having a wide angle and a large apertures.