Yellow Submarine to Lethal Lime Gradient
CSS
background: linear-gradient(90deg, #ffff14 0%, #88ff11 100%);
From Yellow Submarine (#FFFF14) to Lethal Lime (#88FF11). The two hues are 30° apart on the color wheel, close enough that the blend stays clean without a muddy middle.
Colors along the gradient
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Yellow Submarine | #FFFF14 | 255, 255, 20 | 60°, 100%, 54% | 0, 0, 92, 0 | |
| 25% (near High Voltage) | #E1FF13 | 225, 255, 19 | 68°, 100%, 54% | 12, 0, 93, 0 | |
| 50% (near Toxic Boyfriend) | #C4FF13 | 196, 255, 19 | 75°, 100%, 54% | 23, 0, 93, 0 | |
| 75% (near Glorious Green Glitter) | #A6FF12 | 166, 255, 18 | 83°, 100%, 54% | 35, 0, 93, 0 | |
| Lethal Lime | #88FF11 | 136, 255, 17 | 90°, 100%, 53% | 47, 0, 93, 0 |
Halfway along, the gradient is #C4FF13, closest to the named color Toxic Boyfriend. 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.20:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #ffff14, #88ff11) - Diagonal:
linear-gradient(135deg, #ffff14, #88ff11) - Radial, from the center out:
radial-gradient(circle, #ffff14, #88ff11) - Tailwind CSS:
bg-gradient-to-r from-[#ffff14] to-[#88ff11]
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 Yellow Submarine to Lethal Lime gradient?
It starts at #FFFF14 (Yellow Submarine) and ends at #88FF11 (Lethal Lime), with #C4FF13 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #ffff14, #88ff11) runs from Lethal Lime on the left to Yellow Submarine on the right.