Soft gradient generator for Tailwind CSS

Create a soft gradient generator built for Tailwind CSS. This page gives you a ready-to-use color system, export code, and a live gradient preview — no design tools required.

soft gradient generator for tailwind css UI preview
soft gradient generator for tailwind css UI preview

Color palette

#fff6ef
Background 1
background
#fffbf8
Surface 1
surface
#111827
Text Primary 1
text-primary
#7c7c81
Text Secondary 1
text-secondary
#fcc096
Primary 1
primary
#ceeba2
Secondary 1
secondary
#ca9a78
Accent 1
accent

Soft gradient generator for Tailwind CSS explained

The soft gradient generator for tailwind css pairs #fcc096 as its primary hue with #ca9a78 as the accent. The palette is balanced for soft aesthetics while keeping text readable against the surface color.

Every swatch is derived from the same two anchor colors, so the gradient generator stays harmonious across backgrounds, borders, buttons, and hover states. Copy the CSS below or open it in Tailwind CSS and apply it immediately.

Use the preview image as a starting point for your own mockups. It shows the exact #fcc096 → #ceeba2 gradient applied to a phone screen, a primary button, and a wave pattern so you can see how the soft look plays out in a real interface.

Export code

/* CSS Custom Properties */
:root {
  --background: #fff6ef;
  --surface: #fffbf8;
  --text-primary: #111827;
  --text-secondary: #7c7c81;
  --primary: #fcc096;
  --secondary: #ceeba2;
  --accent: #ca9a78;
}

/* Tailwind CSS config (extend.colors) */
module.exports = {
  theme: {
    extend: {
      colors: {
        'background': '#fff6ef',
        'surface': '#fffbf8',
        'text-primary': '#111827',
        'text-secondary': '#7c7c81',
        'primary': '#fcc096',
        'secondary': '#ceeba2',
        'accent': '#ca9a78',
      }
    }
  }
};

Related gradient generators