Green is one of the color families shipped with this release. Pure green — confirmation and nature..
Shades#
100200300400500600700800900950
Palette table#
| Shade | Class fragment | Value | Best role |
|---|---|---|---|
100 | green-100 | #f0fdf4 | Very light — section backgrounds, badges on light UI, tinted code blocks. |
200 | green-200 | #dcfce7 | Light — borders on light themes, dividers with personality, chip backgrounds. |
300 | green-300 | #bbf7d0 | Soft — secondary borders, disabled states with color, placeholder decorations. |
400 | green-400 | #86efac | Medium-light — icons on dark surfaces, decorative accents, chart lines. |
500 | green-500 | #4ade80 | The primary step — buttons, links, brand fills, key interactive elements. |
600 | green-600 | #22c55e | Hover step — hover states for 500 elements, or primary on very light UIs. |
700 | green-700 | #16a34a | Active step — pressed states, emphasized text on light tinted backgrounds. |
800 | green-800 | #15803d | Dark — text on light palettes, headers in tinted sections, dark UI fills. |
900 | green-900 | #166534 | Very dark — deep section backgrounds, high-contrast text carriers. |
950 | green-950 | #14532d | Darkest — near-black tinted backgrounds, hero surfaces, footer tones. |
Use it#
<div class="bg-green-500 text-white p-6 rounded-xl">Green surface</div>
<p class="text-green-600 dark:text-green-400">Adaptive text</p>
<div class="border border-green-200 dark:border-green-800 bg-green-50 dark:bg-green-950 p-4 rounded-lg">Panel</div>Per-usage guides#
Green textstext-green-* in practice.Green backgroundsbg-green-* in practice.Green bordersborder-green-* in practice.Green gradientsfrom-green-* in practice.
Contrast#
Flip point: shades 50–400 want dark text (text-slate-900); shades 500+ (approx.) want white text. Verify with the accessibility/color-contrast|contrast guide.
Related palettes#
colors/emerald|emerald · colors/teal|teal · colors/color-pairing|Pairing recipes
