← All gradients
35%How it works
UI

Testimonial Card

#FFFBEB
#FEF3C7
Text readability
Ui WarmPastel

Testimonial Card is a warm and pastel 2-colour linear gradient that runs from off-white (#FFFBEB) to pale yellow (#FEF3C7) at 180°. It suits hero sections and call-to-action buttons and soft backgrounds, cards and onboarding screens. Black text reads best on it, at a contrast ratio of 19.5:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(180deg, #FFFBEB, #FEF3C7);
Tailwind
bg-gradient-to-b from-[#FFFBEB] to-[#FEF3C7]
Figma token
{
    "testimonial-card": {
        "value": "linear-gradient(180deg, #FFFBEB 0%, #FEF3C7 100%)",
        "type": "color"
    }
}

Testimonial Card gradient for SwiftUI, Flutter, Android and more

The same gradient, same direction, ready for your app or design system.

let testimonialCardGradient = LinearGradient(
    colors: [
        Color(red: 1, green: 0.984, blue: 0.922),
        Color(red: 0.996, green: 0.953, blue: 0.78)
    ],
    startPoint: UnitPoint(x: 0.5, y: 0),
    endPoint: UnitPoint(x: 0.5, y: 1)
)

// Usage
Rectangle().fill(testimonialCardGradient)

Colours in the Testimonial Card gradient

StopNameHEXRGBHSL
1Off-white#FFFBEBrgb(255, 251, 235)hsl(48, 100%, 96%)
2Pale yellow#FEF3C7rgb(254, 243, 199)hsl(48, 96%, 89%)

Testimonial Card gradient in use

Build something beautifulA hero section on the Testimonial Card gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Testimonial Card gradient variations

Reversed
Horizontal
Radial
Conic
Softer
Deeper
Smooth (OKLCH)
Hard stops

Download as an image

Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.

Frequently asked questions

What are the hex codes for the Testimonial Card gradient?

The Testimonial Card gradient uses 2 colours: #FFFBEB and #FEF3C7, at an angle of 180°.

How do I use the Testimonial Card gradient in CSS?

Paste background: linear-gradient(180deg, #FFFBEB, #FEF3C7); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Testimonial Card gradient?

Black text has the best contrast, at 19.5:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.