Busy Bee to Lawn Green (CSS) Gradient
CSS
background: linear-gradient(90deg, #f4ff00 0%, #7cfc00 100%);
From Busy Bee (#F4FF00) to Lawn Green (CSS) (#7CFC00). The two hues are 28° 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 | OKLCH | |
|---|---|---|---|---|---|---|
| Busy Bee | #F4FF00 | 244, 255, 0 | 63°, 100%, 50% | 4, 0, 100, 0 | 95.9% 0.214 113 | |
| 25% (near Lime Zest) | #D6FE00 | 214, 254, 0 | 69°, 100%, 50% | 16, 0, 100, 0 | 93.5% 0.223 121 | |
| 50% (near Nuclear Blast) | #B8FE00 | 184, 254, 0 | 77°, 100%, 50% | 28, 0, 100, 0 | 91.6% 0.237 127 | |
| 75% (near Mochito) | #9AFD00 | 154, 253, 0 | 83°, 100%, 50% | 39, 0, 100, 1 | 89.7% 0.250 132 | |
| Lawn Green (CSS) | #7CFC00 | 124, 252, 0 | 90°, 100%, 49% | 51, 0, 100, 1 | 88.2% 0.263 136 |
Halfway along, the gradient is #B8FE00, closest to the named color Nuclear Blast. 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.21:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #f4ff00, #7cfc00) - Diagonal:
linear-gradient(135deg, #f4ff00, #7cfc00) - Radial, from the center out:
radial-gradient(circle, #f4ff00, #7cfc00) - Tailwind CSS:
bg-gradient-to-r from-[#f4ff00] to-[#7cfc00]
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 Busy Bee to Lawn Green (CSS) gradient?
It starts at #F4FF00 (Busy Bee) and ends at #7CFC00 (Lawn Green (CSS)), with #B8FE00 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #f4ff00, #7cfc00) runs from Lawn Green (CSS) on the left to Busy Bee on the right.