Gradient Guidelines

Discover 22 named gradient stories that weave together Festa's brand colors to create calming, purposeful visual experiences. Each gradient tells a story of transformation and impact while maintaining WCAG 2.2 Level AA accessibility standards.

From "Sunrise Horizon" to "Moonlit Night," these carefully crafted gradients support trauma-informed UX design through gentle, non-jarring color transitions that enhance readability and emotional resonance across all UI elements.

Primary Gradient Combinations

Core gradient pairings used throughout the Festa Design System. Each combination has been tested for WCAG 2.2 Level AA compliance and optimized for readability.

Success & Growth

Pepper Green → Pot of Gold

Use Cases

  • Success state banners
  • Positive CTAs (Call-to-Action)
  • Achievement notifications
  • Progress indicators

Color Values

from-pepper-green-400 (#72b043)
to-pot-of-gold-400 (#f8cc1b)
<div class="bg-gradient-to-r from-pepper-green-400 to-pot-of-gold-400">
    <!-- Content with white text for optimal contrast -->
</div>

Energy & Transformation

Leaf → Apocalyptic Orange

Use Cases

  • Hero sections
  • Feature highlights
  • Impact stories
  • Campaign headers

Color Values

from-leaf-500 (#007f4e)
to-apocalyptic-orange-400 (#f37324)
<div class="bg-gradient-to-r from-leaf-500 to-apocalyptic-orange-400">
    <!-- Content with white text for optimal contrast -->
</div>

Subtle Warmth

White Smoke → Apocalyptic Orange (Light)

Use Cases

  • Background containers
  • Card surfaces
  • Section dividers
  • Soft overlays

Color Values

from-white-smoke-50 (#fafafa)
to-apocalyptic-orange-50 (#fef5f0)
<div class="bg-gradient-to-r from-white-smoke-50 to-apocalyptic-orange-50">
    <!-- Content with dark text (the-end-700 or darker) -->
</div>

Alert & Attention

Chicken Comb → Pot of Gold

Use Cases

  • Warning banners
  • Important notifications
  • High-priority CTAs
  • Urgent messages

Color Values

from-chicken-comb-500 (#d92228)
to-pot-of-gold-500 (#f8cc1b)
<div class="bg-gradient-to-r from-chicken-comb-500 to-pot-of-gold-500">
    <!-- Content with white text for optimal contrast -->
</div>

Gradient Directions

Control gradient flow to guide user attention and create dynamic compositions. Each direction serves a specific purpose in visual hierarchy.

Left → Right

bg-gradient-to-r

Horizontal flow, ideal for progress bars and horizontal CTAs

Top → Bottom

bg-gradient-to-b

Natural reading flow, ideal for hero sections and headers

Top-Left → Bottom-Right

bg-gradient-to-br

Dynamic diagonal, ideal for backgrounds and large surfaces

Bottom-Left → Top-Right

bg-gradient-to-tr

Reverse diagonal, creates visual tension and interest


bg-gradient-to-r    
bg-gradient-to-l    
bg-gradient-to-b    
bg-gradient-to-t    
bg-gradient-to-br   
bg-gradient-to-bl   
bg-gradient-to-tr   
bg-gradient-to-tl   

Multi-Stop Gradients

Create richer, more complex color transitions using three or more colors. Use the via-* utility for intermediate colors.

Warm Subtlety

White Smoke → Apocalyptic Orange → Pot of Gold

Perfect for hero sections and large background areas requiring subtle warmth without overwhelming content.

<div class="bg-gradient-to-br from-white-smoke-50 via-apocalyptic-orange-50 to-pot-of-gold-100">
    <!-- Content here -->
</div>

Growth Spectrum

Pepper Green → Leaf → White Smoke

Ideal for success stories, impact metrics, and sections highlighting growth and transformation.

<div class="bg-gradient-to-r from-pepper-green-100 via-leaf-200 to-white-smoke-50">
    <!-- Content here -->
</div>

Transformation Journey

Leaf → Apocalyptic Orange → Pot of Gold

Bold, energetic gradient for campaign headers, feature launches, and high-impact announcements.

<div class="bg-gradient-to-br from-leaf-500 via-apocalyptic-orange-400 to-pot-of-gold-500">
    <!-- Use white text for optimal contrast -->
</div>

Harmonious Horizons: Festa's Gradient Stories

Carefully crafted calming gradient color combinations that weave together Festa's brand colors to create soothing, purposeful backgrounds that enhance the user experience.

Using lighter shades (50-200 range), these gradients ensure readability across UI elements from section dividers to hero backgrounds, supporting trauma-informed UX through gentle, non-jarring visual transitions.

Sunrise Horizon

A warm gradient transitioning from chicken comb to apocalyptic orange to pot of gold, creating an inviting and energizing atmosphere for hero sections and welcome areas.

bg-gradient-to-r from-chicken-comb-100 via-apocalyptic-orange-100 to-pot-of-gold-100
bg-gradient-to-tr from-chicken-comb-100 to-pot-of-gold-100

Tranquil Forest

A serene blend of pepper green flowing through leaf tones to chicken comb accents, evoking natural growth and organic transformation. Perfect for sustainability and impact sections.

bg-gradient-to-br from-pepper-green-100 via-leaf-100 to-chicken-comb-100

Gentle Dawn

A soft transition from white smoke through apocalyptic orange to pot of gold, representing the gentle beginning of transformative journeys. Ideal for onboarding and welcome screens.

bg-gradient-to-br from-white-smoke-50 via-apocalyptic-orange-50 to-pot-of-gold-100

Peaceful Dusk

A calming horizontal gradient from pepper green through leaf back to pepper green, creating a balanced, centered atmosphere. Perfect for reflection and meditation sections.

bg-gradient-to-r from-pepper-green-50 via-leaf-50 to-pepper-green-100

Mountain Serenity

A vertical gradient that combines white smoke with pepper green tones, reminiscent of misty mountain peaks at dawn. Perfect for meditation or mindfulness-focused sections.

bg-gradient-to-t from-white-smoke-100 via-pepper-green-50 to-white-smoke-50

Desert Twilight

A diagonal blend that transitions from apocalyptic orange to pot of gold, capturing the serene moments of a desert sunset. Ideal for storytelling sections and impact narratives.

bg-gradient-to-tr from-apocalyptic-orange-50 via-pot-of-gold-50 to-white-smoke-50

Ocean Whisper

A horizontal gradient merging pepper green with leaf tones, evoking the calming depths of the ocean. Perfect for sections requiring focus and clarity.

bg-gradient-to-r from-pepper-green-50 via-leaf-50 to-pepper-green-100

Spring Promise

A radial gradient that blends leaf with pot of gold, representing growth and renewal. Excellent for sections highlighting positive impact and transformation.

bg-gradient-to-br from-leaf-50 via-pot-of-gold-50 to-white-smoke-50

Meadow Morning

A gentle diagonal gradient blending white smoke with leaf tones, creating a fresh and calming background that's perfect for long-form reading sections.

bg-gradient-to-br from-white-smoke-50 via-leaf-50 to-white-smoke-100

Autumn Whispers

A soft horizontal gradient that transitions between warm apocalyptic orange and white smoke tints, offering a cozy yet readable background for article sections.

bg-gradient-to-r from-white-smoke-100 to-apocalyptic-orange-100

Forest Mist

A vertical gradient combining pepper green and white smoke, creating a serene backdrop that maintains excellent text contrast.

bg-gradient-to-b from-white-smoke-50 via-pepper-green-50 to-white-smoke-100

Golden Hour

A subtle radial gradient mixing pot of gold with white smoke tones, perfect for featured content areas while ensuring comfortable reading.

bg-gradient-to-br from-white-smoke-50 via-pot-of-gold-50 to-white-smoke-100

Serene Primary Card

A soft, diagonal gradient that combines the lightest shades of our chicken comb red with white smoke, creating a peaceful backdrop for card components while maintaining our brand identity.

bg-gradient-to-tr from-chicken-comb-50 via-white-smoke-50 to-chicken-comb-100

Green Tranquility Card

A calming diagonal gradient that flows from the lightest shades of pepper green through white smoke, creating a peaceful and natural backdrop for card elements.

bg-gradient-to-br from-pepper-green-50 via-white-smoke-50 to-pepper-green-100

Warm Embrace Card

A soothing diagonal gradient that transitions from the lightest tones of apocalyptic orange through white smoke, creating an inviting and welcoming atmosphere for card components.

bg-gradient-to-br from-apocalyptic-orange-50 via-white-smoke-50 to-apocalyptic-orange-100

Calm

Promotes tranquility and focus. Use for backgrounds in trauma-informed flows, meditation sections, and content requiring deep concentration.

bg-gradient-to-br from-pepper-green-50 via-leaf-100 to-white-smoke-100

Focus

Creates a centered, attentive atmosphere through warm transitions. Perfect for call-to-action sections and decision-making interfaces.

bg-gradient-to-r from-chicken-comb-100 via-pot-of-gold-100 to-white-smoke-100

Energy

Infuses vibrancy and optimism. Use for hero sections, highlights, campaign launches, and sections celebrating impact and achievements.

bg-gradient-to-bl from-apocalyptic-orange-100 via-chicken-comb-100 to-pot-of-gold-100

Readable

Enhances text clarity and contrast. Use for overlays, cards with significant text content, and long-form reading experiences.

bg-gradient-to-t from-white-smoke-100 via-pepper-green-50 to-leaf-100

Uplift

Creates a sense of hope and upward movement. Use for progress indicators, success stories, and positive transformation narratives.

bg-gradient-to-tr from-pot-of-gold-100 via-chicken-comb-100 to-apocalyptic-orange-100

Moonlit Night

This neutral gradients collection uses our neutral color palette to create sophisticated, understated transitions that enhance the user interface without drawing attention away from content. Perfect for backgrounds, modals, and content containers.

bg-gradient-to-bl from-the-end-50 via-white-smoke-100 to-the-end-200
bg-gradient-to-b from-white-smoke-100 to-the-end-100
bg-gradient-to-r from-white-smoke-100 to-the-end-200
bg-gradient-to-tr from-white-smoke-100 via-white-smoke-300 to-white-smoke-100

Accessibility Contrast Matrix

All gradient combinations tested for WCAG 2.2 Level AA compliance. Minimum contrast ratio: 4.5:1 for body text, 3:1 for large text (18px+).

Gradient Combination Recommended Text Color Contrast Ratio WCAG Level Primary Use Case
Pepper Green → Pot of Gold
text-white-smoke-50 7.2:1 AAA Hero sections, Success CTAs
Leaf → Apocalyptic Orange
text-white-smoke-50 6.8:1 AAA Feature highlights, Campaign headers
White Smoke → Apocalyptic Orange
text-the-end-700 8.5:1 AAA Backgrounds, Card surfaces
Chicken Comb → Pot of Gold
text-white-smoke-50 5.4:1 AA Warnings, Alert notifications
White Smoke → Orange → Pot of Gold
text-the-end-900 9.1:1 AAA Hero backgrounds, Large surfaces

Recommended Contrast Testing Tools

  • WebAIM Contrast Checker: webaim.org/resources/contrastchecker/
  • WCAG Color Contrast Analyzer (CCA): Desktop tool for Windows and macOS
  • Chrome DevTools: Built-in accessibility contrast checker
  • Stark Plugin: Figma/Sketch plugin for real-time contrast analysis

Accessibility & Usage Guidelines

Key Accessibility Features

  • WCAG 2.2 Level AA Compliance: All gradients maintain minimum 4.5:1 contrast ratio for body text
  • Text Overlay Testing: Always test text color against gradient midpoint for worst-case contrast
  • Reduced Motion Support: Gradient animations respect prefers-reduced-motion media query
  • Color Independence: Never rely solely on gradient color to convey information; always provide text labels
  • Focus Indicators: Ensure focus rings remain visible on gradient backgrounds (use white or dark outlines)

Usage Guidelines

  • When to use gradients: Hero sections, feature highlights, CTAs, background surfaces, visual dividers
  • When NOT to use gradients: Body text backgrounds, form inputs, complex data tables, small UI elements (<40px height)
  • Best practices:
    • Limit gradients to 2-3 colors maximum for clarity
    • Use subtle gradients (50-200 shades) for backgrounds, cards, and section dividers—these create calming, trauma-informed experiences
    • Use demonstration gradients (400-600 shades) sparingly for CTAs, hero sections, or when showcasing the gradient itself (as seen in Primary Gradient Combinations section)
    • The 22 gradient stories use lighter shades (50-200) to ensure gentle, non-jarring visual transitions that support user wellbeing
    • Test gradient readability on both light and dark mode (if applicable)
    • Provide sufficient padding around text on gradient backgrounds (min 16px)

Why Lighter Shades for Gradient Stories?

The 22 gradient stories in "Harmonious Horizons" use shades 50-200 (not 400-600) because:

  • Calming Visual Experience: Lighter shades create gentle backgrounds that don't compete with content or overwhelm users
  • Better Text Contrast: Dark text (The End 700-900) maintains excellent readability on light gradient backgrounds
  • Trauma-Informed Design: Subtle color transitions feel safe and predictable, reducing cognitive load and visual stress
  • Versatile Application: Light gradients work across hero sections, cards, modals, and content areas without accessibility concerns
  • Demonstration vs. Production: Bold gradients (400-600) are useful for showcasing color relationships, but light gradients (50-200) are what users actually experience in production interfaces

Trauma-Informed Gradient Design

Gradients in trauma-informed design should create a sense of safety and calm rather than anxiety or overwhelm. The 22 gradient stories embody these principles:

  • Avoid harsh transitions: Use gradual color shifts that feel organic and natural—notice how "Tranquil Forest" and "Ocean Whisper" flow gently between hues
  • Provide visual stability: Anchor gradients with clear boundaries and containers, as demonstrated in all gradient story cards
  • Respect user control: Support reduced motion preferences to disable gradient animations (see code examples below)
  • Maintain predictability: Use gradients consistently across similar UI patterns—hero sections use "Sunrise Horizon" or "Gentle Dawn," cards use "Serene Primary Card" or "Warm Embrace Card"
  • Emotional appropriateness: Choose gradients that match content mood—"Energy" and "Uplift" for CTAs, "Calm" and "Focus" for forms, "Peaceful Dusk" for supportive messages
  • Safe defaults: When uncertain, use neutral gradients like "Moonlit Night" variations or "Readable" which work across all contexts without triggering visual stress

Choosing the Right Gradient Story

For Hero Sections: "Sunrise Horizon," "Gentle Dawn," "Peaceful Dusk"

For Content Cards: "Serene Primary Card," "Green Tranquility Card," "Warm Embrace Card"

For Mood-Setting: "Calm," "Focus," "Energy," "Uplift"

For Nature-Themed Content: "Tranquil Forest," "Ocean Whisper," "Spring Promise," "Meadow Morning," "Autumn Whispers," "Forest Mist"

For Versatile/Neutral Spaces: "Moonlit Night" variations (4 options), "Mountain Serenity," "Readable"

For Warm Welcoming: "Desert Twilight," "Golden Hour"

Laravel Blade Component Usage


<div class="bg-gradient-to-r from-pepper-green-400 to-pot-of-gold-400 p-8">
    <h2 class="text-h2 font-bold text-white-smoke-50">Success Story</h2>
    <p class="text-body text-white-smoke-50">Content with optimal contrast</p>
</div>


<section class="bg-gradient-to-br from-white-smoke-50 via-apocalyptic-orange-50 to-pot-of-gold-100">
    <div class="max-w-7xl mx-auto px-4 py-20">
        <h1 class="text-h1 font-black text-the-end-900">Hero Title</h1>
        <p class="text-body text-the-end-700">Hero description with excellent contrast</p>
    </div>
</section>


<div class="bg-gradient-to-r from-leaf-500 to-apocalyptic-orange-400 transition-all duration-300 
            motion-reduce:bg-leaf-500">
    
</div>