# Black to gold midnight

Monochrome black to tan gradient with 7 colors: #02050a, #171a21, #323532, #5e513c, #967837, #d2aa46, #f4d876. Edit it and copy or download CSS, SVG, PNG or shader code.

- Also called: Monochrome black to tan gradient
- Seed: `kYHA22HoXAi8DrDCmj7XCzAHCswO`
- Page: https://grabient.com/kYHA22HoXAi8DrDCmj7XCzAHCswO
- Drawn as: linear gradient, 7 steps, 90 degrees
- Kinds: dark to light, muted, monochrome
- Hues: monochromatic
- Contrast of its darkest and lightest colors: 14.5 to 1

## Colors

The name most people give each color, and the text color that reads on it with its contrast.

| Stop | Hex | OKLCH | Name | Text on it |
| --- | --- | --- | --- | --- |
| 1 | `#02050a` | `oklch(11.02% 0.0179 255.94)` | Eight Ball | white, 20.4 to 1 |
| 2 | `#171a21` | `oklch(21.70% 0.0158 270.25)` | River Styx | white, 17.4 to 1 |
| 3 | `#323532` | `oklch(32.50% 0.0066 144.63)` | Jet | white, 12.4 to 1 |
| 4 | `#5e513c` | `oklch(44.24% 0.0371 79.00)` | Best Bronze | white, 7.7 to 1 |
| 5 | `#967837` | `oklch(58.85% 0.0914 84.04)` | Cardueline Finch | black, 5 to 1 |
| 6 | `#d2aa46` | `oklch(75.55% 0.1256 86.88)` | Haystack | black, 9.5 to 1 |
| 7 | `#f4d876` | `oklch(88.58% 0.1226 94.25)` | Sandy | black, 14.9 to 1 |

## CSS

```css
background: linear-gradient(90deg, #02050a 0.0%, #171a21 16.7%, #323532 33.3%, #5e513c 50.0%, #967837 66.7%, #d2aa46 83.3%, #f4d876 100.0%);
background: linear-gradient(90deg in oklch, oklch(11.02% 0.0179 255.94) 0.0%, oklch(21.70% 0.0158 270.25) 16.7%, oklch(32.50% 0.0066 144.63) 33.3%, oklch(44.24% 0.0371 79.00) 50.0%, oklch(58.85% 0.0914 84.04) 66.7%, oklch(75.55% 0.1256 86.88) 83.3%, oklch(88.58% 0.1226 94.25) 100.0%);
```

## Keyframes

6 OKLCH keyframes joined by a Catmull-Rom spline. Hue is unwrapped degrees.

| Keyframe | Lightness | Chroma | Hue |
| --- | --- | --- | --- |
| 1 | 0.11 | 0.018 | 255.9 |
| 2 | 0.24 | 0.015 | 261.2 |
| 3 | 0.37 | 0.01 | 94.3 |
| 4 | 0.524 | 0.072 | 84.7 |
| 5 | 0.724 | 0.123 | 85.8 |
| 6 | 0.886 | 0.123 | 94.3 |

## In these collections

- [Black and gold gradients](https://grabient.com/black-and-gold-gradients)
- [Yellow gradients](https://grabient.com/yellow-gradients)

## Other forms

- [JSON](https://grabient.com/kYHA22HoXAi8DrDCmj7XCzAHCswO.json)
- [PNG](https://grabient.com/kYHA22HoXAi8DrDCmj7XCzAHCswO.png)
- [SVG](https://grabient.com/kYHA22HoXAi8DrDCmj7XCzAHCswO.svg)
- [CSS](https://grabient.com/kYHA22HoXAi8DrDCmj7XCzAHCswO.css)
- [ASE](https://grabient.com/kYHA22HoXAi8DrDCmj7XCzAHCswO.ase)
- [GPL](https://grabient.com/kYHA22HoXAi8DrDCmj7XCzAHCswO.gpl)
- [GRD](https://grabient.com/kYHA22HoXAi8DrDCmj7XCzAHCswO.grd)
- [Design tokens](https://grabient.com/kYHA22HoXAi8DrDCmj7XCzAHCswO.tokens.json)
- [Social card](https://grabient.com/api/og?seed=kYHA22HoXAi8DrDCmj7XCzAHCswO)
- [Palettes like this one](https://grabient.com/palettes?q=kYHA22HoXAi8DrDCmj7XCzAHCswO)
- [Guide for agents](https://grabient.com/llms.txt)
