Yours Truly to Hint of Yellow Gradient
CSS
background: linear-gradient(90deg, #fbd9cd 0%, #faf1cd 100%);
From Yours Truly (#FBD9CD) to Hint of Yellow (#FAF1CD). The two hues are 32° apart on the color wheel, close enough that the blend stays clean without a muddy middle.
Colors along the gradient
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Yours Truly | #FBD9CD | 251, 217, 205 | 16°, 85%, 89% | 0, 14, 18, 2 | |
| 25% (near Glazed Sugar) | #FBDFCD | 251, 223, 205 | 23°, 85%, 89% | 0, 11, 18, 2 | |
| 50% (near Acropolis) | #FBE5CD | 251, 229, 205 | 31°, 85%, 89% | 0, 9, 18, 2 | |
| 75% (near Gin Fizz) | #FAEBCD | 250, 235, 205 | 40°, 82%, 89% | 0, 6, 18, 2 | |
| Hint of Yellow | #FAF1CD | 250, 241, 205 | 48°, 82%, 89% | 0, 4, 18, 2 |
Halfway along, the gradient is #FBE5CD, closest to the named color Acropolis. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
Black text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.16:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #fbd9cd, #faf1cd) - Diagonal:
linear-gradient(135deg, #fbd9cd, #faf1cd) - Radial, from the center out:
radial-gradient(circle, #fbd9cd, #faf1cd) - Tailwind CSS:
bg-gradient-to-r from-[#fbd9cd] to-[#faf1cd]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Yours Truly to Hint of Yellow gradient?
It starts at #FBD9CD (Yours Truly) and ends at #FAF1CD (Hint of Yellow), with #FBE5CD in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #fbd9cd, #faf1cd) runs from Hint of Yellow on the left to Yours Truly on the right.