Yellow to Black Gradient
CSS GradientThe yellow to black gradient is crafted with 5 colors (#FFE600, #C9B800, #8F8300, #4A4400, #0D0D00). Ready-to-use linear, radial, and conic CSS rules for modern web and mobile apps.

|
#FFE600
#C9B800
#8F8300
#4A4400
#0D0D00
1. Gradient Color Stops
| Swatch | HEX | RGB | HSL | CMYK | OKLCH |
|---|---|---|---|---|---|
#FFE600 | 255, 230, 0 | 54°, 100%, 50% | 0%, 10%, 100%, 0% | oklch(0.917 0.191 101) | |
#C9B800 | 201, 184, 0 | 55°, 100%, 39% | 0%, 8%, 100%, 21% | oklch(0.773 0.162 103) | |
#8F8300 | 143, 131, 0 | 55°, 100%, 28% | 0%, 8%, 100%, 44% | oklch(0.602 0.127 103) | |
#4A4400 | 74, 68, 0 | 55°, 100%, 15% | 0%, 8%, 100%, 71% | oklch(0.381 0.080 104) | |
#0D0D00 | 13, 13, 0 | 60°, 100%, 3% | 0%, 0%, 100%, 95% | oklch(0.154 0.034 110) |
2. Gradient Variations & Styles
Linear Gradient
Radial Gradient
Conic Gradient
3. CSS Code & Declarations
Linear Gradient
background: linear-gradient(to right, #FFE600, #C9B800, #8F8300, #4A4400, #0D0D00);
Radial Gradient
background: radial-gradient(circle, #FFE600, #C9B800, #8F8300, #4A4400, #0D0D00);
Conic Gradient
background: conic-gradient(from 180deg at 50% 50%, #FFE600, #C9B800, #8F8300, #4A4400, #0D0D00);
Tailwind CSS
bg-gradient-to-r from-[#FFE600] to-[#0D0D00]
SCSS Variable
$gradient-yellow-to-black-gradient: linear-gradient(to right, #FFE600, #C9B800, #8F8300, #4A4400, #0D0D00);
4. Stop Accessibility & Contrast
#FFE600Stop 1
On White:1.27:1
On Black:16.57:1
WCAG Pass
#C9B800Stop 2
On White:2.03:1
On Black:10.34:1
WCAG Pass
#8F8300Stop 3
On White:3.88:1
On Black:5.41:1
WCAG Pass
#4A4400Stop 4
On White:9.91:1
On Black:2.12:1
WCAG Pass
#0D0D00Stop 5
On White:19.54:1
On Black:1.07:1
WCAG Pass
5. UI Preview with Gradient
Card Header
Yellow to Black 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 Yellow to Black Gradient
Gradient Name
Yellow to Black Gradient
Color Stops
5 Colors
First Color
#FFE600
End Color
#0D0D00
Color Swatches