Midnight Lamp

Customize and copy the CSS

Code

background: #34495E;
background: linear-gradient(135deg, #34495E 0%, #F1C40F 100%);

Color stops

Color stops
StopPositionHEXRGBHSLOKLCH
Stop 10%
Stop 2100%

Save image

Image size

About Midnight Lamp

Starting from #34495E and finishing on #F1C40F, Midnight Lamp is a warm yellow gradient. By default it flows top-left to bottom-right at 135°, and its midpoint blends to #2E9A7C.

The first color is deep (40% lightness) and the second one is light (84%), with an average look that is softly saturated. The hue swings roughly 157° across the color wheel, which gives the gradient a wide, multi-tone sweep.

It suits cheerful highlights, promo ribbons and illustration backgrounds. Lightness changes a lot along this gradient (44% range), so no single text color holds up everywhere. Put text on a solid card or only over the stronger end.

Because the hue changes a lot, blending in the sRGB color space can turn the middle gray or muddy. Switch on OKLCH interpolation above to keep the transition clean, then copy the CSS with the "in oklch" hint.

Midnight Lamp gradient: #34495E, #F1C40F

Yellow color palettes

See all