Green to Yellow Gradient
CSS GradientThe green to yellow gradient is crafted with 5 colors (#145214, #4C8C2B, #8CB92E, #C9D62A, #F5EE1C). Ready-to-use linear, radial, and conic CSS rules for modern web and mobile apps.

|
#145214
#4C8C2B
#8CB92E
#C9D62A
#F5EE1C
1. Gradient Color Stops
| Swatch | HEX | RGB | HSL | CMYK | OKLCH |
|---|---|---|---|---|---|
#145214 | 20, 82, 20 | 120°, 61%, 20% | 76%, 0%, 76%, 68% | oklch(0.386 0.112 143) | |
#4C8C2B | 76, 140, 43 | 100°, 53%, 36% | 46%, 0%, 69%, 45% | oklch(0.576 0.146 137) | |
#8CB92E | 140, 185, 46 | 79°, 60%, 45% | 24%, 0%, 75%, 27% | oklch(0.728 0.168 126) | |
#C9D62A | 201, 214, 42 | 65°, 68%, 50% | 6%, 0%, 80%, 16% | oklch(0.839 0.179 114) | |
#F5EE1C | 245, 238, 28 | 58°, 92%, 54% | 0%, 3%, 89%, 4% | oklch(0.925 0.195 107) |
2. Gradient Variations & Styles
Linear Gradient
Radial Gradient
Conic Gradient
3. CSS Code & Declarations
Linear Gradient
background: linear-gradient(to right, #145214, #4C8C2B, #8CB92E, #C9D62A, #F5EE1C);
Radial Gradient
background: radial-gradient(circle, #145214, #4C8C2B, #8CB92E, #C9D62A, #F5EE1C);
Conic Gradient
background: conic-gradient(from 180deg at 50% 50%, #145214, #4C8C2B, #8CB92E, #C9D62A, #F5EE1C);
Tailwind CSS
bg-gradient-to-r from-[#145214] to-[#F5EE1C]
SCSS Variable
$gradient-green-to-yellow-gradient: linear-gradient(to right, #145214, #4C8C2B, #8CB92E, #C9D62A, #F5EE1C);
4. Stop Accessibility & Contrast
#145214Stop 1
On White:9.35:1
On Black:2.25:1
WCAG Pass
#4C8C2BStop 2
On White:4.12:1
On Black:5.09:1
WCAG Pass
#8CB92EStop 3
On White:2.31:1
On Black:9.09:1
WCAG Pass
#C9D62AStop 4
On White:1.60:1
On Black:13.14:1
WCAG Pass
#F5EE1CStop 5
On White:1.23:1
On Black:17.13:1
WCAG Pass
5. UI Preview with Gradient
Card Header
Green to Yellow Gradient Banner
Stunning backgrounds for hero sections, marketing callouts, and modern card containers.
Modern Dark Mode
Gradient Glow
Use vibrant gradients as high-conversion button fills, text-gradients, or active focus rings.
Text Gradient
Similar Gradients
Gradient Ideas
About Green to Yellow Gradient
Gradient Name
Green to Yellow Gradient
Color Stops
5 Colors
First Color
#145214
End Color
#F5EE1C
Color Swatches