In this work, convex diffractive microlenses are designed for fabrication in GaN-based material with a gray-level mask. The aspect ratios of the surface relief of piano-convex and double-convex microlenses for different numerical apertures are compared to