Green gradients
Green gradients are a favorite in UI design: they signal success, growth and sustainability, so they show up on buttons, progress bars, finance dashboards and eco brands. The gradients below range from deep forest and emerald blends that carry white text, to bright lime and mint gradients that need dark text. For a green gradient in UI work, a subtle shift between two neighboring greens usually looks more polished than a jump across very different hues. Each gradient shows its CSS, ready to paste, along with the text color that reads best across it and its worst-case contrast. Open any of them in the gradient generator to adjust the stops or angle and see the readability check update as you go.
6 green gradients with CSS code
- Emerald Field
Emerald Field
background: linear-gradient(135deg, #065F46 0%, #10B981 100%);Black text fails AA somewhere, at worst 2.73:1.
- Forest Depth
Forest Depth
background: linear-gradient(160deg, #14281D 0%, #2F5D50 50%, #52B788 100%);White text fails AA somewhere, at worst 2.47:1.
- Fresh Lime
Fresh Lime
background: linear-gradient(120deg, #A7F3D0 0%, #D9F99D 100%);Black text passes AA, at worst 16.37:1.
- Success State
Success State
background: linear-gradient(90deg, #15803D 0%, #22C55E 100%);Black text AA large text only, at worst 4.18:1.
- Sage Mist
Sage Mist
background: linear-gradient(135deg, #6B9080 0%, #CCE3DE 100%);Black text passes AA, at worst 5.92:1.
- Jungle Canopy
Jungle Canopy
background: linear-gradient(180deg, #1B4332 0%, #40916C 50%, #95D5B2 100%);Black text fails AA somewhere, at worst 1.89:1.