Huebook

Pac-Man to Lime Gradient

CSS

background: linear-gradient(90deg, #ffe737 0%, #aaff32 100%);

From Pac-Man (#FFE737) to Lime (#AAFF32). The two hues are 32° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Pac-Man#FFE737255, 231, 5553°, 100%, 61%0, 9, 78, 0
25% (near Pika Yellow)#EAED36234, 237, 5461°, 84%, 57%1, 0, 77, 7
50% (near Lime Fizz)#D5F335213, 243, 5369°, 89%, 58%12, 0, 78, 5
75% (near Pick Your Poison)#BFF933191, 249, 5178°, 94%, 59%23, 0, 80, 2
Lime#AAFF32170, 255, 5085°, 100%, 60%33, 0, 80, 0

Halfway along, the gradient is #D5F335, closest to the named color Lime Fizz. The stops are mixed in RGB, the way browsers draw a linear gradient by default.

Text on this gradient

Black text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.02:1, so the change is gentle.

Other ways to use it

Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.

Related gradients

Questions

What are the HEX codes of the Pac-Man to Lime gradient?

It starts at #FFE737 (Pac-Man) and ends at #AAFF32 (Lime), with #D5F335 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ffe737, #aaff32) runs from Lime on the left to Pac-Man on the right.