Properly made ghee should have a rich golden-yellow color and be clear, allowing you to see through it when melted.
The characteristic color and clarity of ghee are indicators of its quality and proper preparation. The golden-yellow hue comes from the carotene present in the butter used to make the ghee. During the simmering process, the milk solids are carefully separated, leaving behind pure butterfat. This process, when done correctly, results in a clear liquid. The clarity is achieved by removing all the milk solids and moisture. If the ghee is cloudy or has sediment at the bottom, it indicates that the milk solids haven't been completely removed or that the ghee contains moisture. The color can vary slightly depending on the cow's diet and the butter used, but it should always be a shade of golden yellow. A darker color might indicate overcooking.
Always use a heavy-bottomed pan when making ghee to prevent scorching, which can affect the color and clarity, and impart a burnt flavor.