Huebook

Cantaloupe to Nuclear Acid Gradient

CSS

background: linear-gradient(90deg, #ffd479 0%, #ecf474 100%);

From Cantaloupe (#FFD479) to Nuclear Acid (#ECF474). The two hues are 23° apart on the color wheel, close enough that the blend stays clean without a muddy middle.

Colors along the gradient

NameHEXRGBHSLCMYK
Cantaloupe#FFD479255, 212, 12141°, 100%, 74%0, 17, 53, 0
25% (near Ravioli al Limone)#FADC78250, 220, 12046°, 93%, 73%0, 12, 52, 2
50% (near Sweet Corn)#F6E477246, 228, 11951°, 88%, 72%0, 7, 52, 4
75% (near Illuminating)#F1EC75241, 236, 11758°, 82%, 70%0, 2, 51, 5
Nuclear Acid#ECF474236, 244, 11664°, 85%, 71%3, 0, 52, 4

Halfway along, the gradient is #F6E477, closest to the named color Sweet Corn. 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.19: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 Cantaloupe to Nuclear Acid gradient?

It starts at #FFD479 (Cantaloupe) and ends at #ECF474 (Nuclear Acid), with #F6E477 in the middle.

How do I reverse the gradient?

Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ffd479, #ecf474) runs from Nuclear Acid on the left to Cantaloupe on the right.