Back to #407c4d

Tailwind CSS Palette

Custom color palette generated from #407c4d

50
100
200
300
400
500
600
700
800
900
950

How to Install

1

Open your tailwind.config.js file

Locate the configuration file in your project's root directory.

2

Add the color palette to your theme

Copy the following configuration into your theme's colors section:

module.exports = {
  theme: {
    extend: {
      colors: {
        custom: {
  50: '#ffffff',
  100: '#edf3ee',
  200: '#dbe6dc',
  300: '#cadacb',
  400: '#b8cebb',
  500: '#a7c2aa',
  600: '#96b69a',
  700: '#85aa8a',
  800: '#749f7a',
  900: '#63936b',
  950: '#52875c',
},
      },
    },
  },
  plugins: [],
}
3

Use the colors in your HTML/JSX

You can now use your custom colors with Tailwind utility classes:

<!-- Background color -->
<div class="bg-custom-500">...</div>

<!-- Text color -->
<p class="text-custom-700">...</p>

<!-- Border color -->
<div class="border-custom-300">...</div>

<!-- Hover states -->
<button class="bg-custom-500 hover:bg-custom-600">...</button>

Alternative: CSS Variables

If you prefer using CSS custom properties (or Tailwind v4 `@theme`), here are the variables:

:root {
--color-custom-50: #ffffff;
--color-custom-100: #edf3ee;
--color-custom-200: #dbe6dc;
--color-custom-300: #cadacb;
--color-custom-400: #b8cebb;
--color-custom-500: #a7c2aa;
--color-custom-600: #96b69a;
--color-custom-700: #85aa8a;
--color-custom-800: #749f7a;
--color-custom-900: #63936b;
--color-custom-950: #52875c;
}

Individual Color Values

custom-50
#ffffff
custom-100
#edf3ee
custom-200
#dbe6dc
custom-300
#cadacb
custom-400
#b8cebb
custom-500
#a7c2aa
custom-600
#96b69a
custom-700
#85aa8a
custom-800
#749f7a
custom-900
#63936b
custom-950
#52875c

Learn more about customizing colors in Tailwind CSS