Named gradient · uiGradients
Petrichor
Petrichor is a yellow gradient from uiGradients (MIT) — #666600 → #999966 at 90°. Shown here interpolated in OKLab, next to the original sRGB, with the worst-case contrast for white and black text and every export.
Same stops, three spaces
The source renders this in sRGB. The number is how much chroma survives at the dullest point along the line — the difference between the first bar and the others is the grey that OKLab removes.
Report
- white ink: worst 2.96:1 at 100% (fails AA); black ink: worst 3.47:1 at 0% (AA-large only) → use black text.
- Body text fails AA everywhere on this gradient; large text (≥24px / 19px bold) is fine. Add a scrim or lower the chroma for body copy.
- Banding high: ~14px bands at 1440px — add grain 29 (≈2% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #666600 0%, #696a0f 7.14%, #6d6d19 14.29%, #717122 21.43%, #747429 28.57%, #787830 35.71%, #7b7c37 42.86%, #7f7f3d 50%, #838343 57.14%, #868749 64.29%, #8a8a4f 71.43%, #8e8e55 78.57%, #91925b 85.71%, #959560 92.86%, #999966 100%);
background-image: linear-gradient(90deg in oklab, #666600 0%, #999966 100%);
}bg-linear-to-r/oklab from-[#666600] to-[#999966]
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="600" viewBox="0 0 1440 600"><defs><linearGradient id="bs-gradient" gradientUnits="userSpaceOnUse" x1="0" y1="300" x2="1440" y2="300"><stop offset="0%" stop-color="#666600"/><stop offset="7.14%" stop-color="#696a0f"/><stop offset="14.29%" stop-color="#6d6d19"/><stop offset="21.43%" stop-color="#717122"/><stop offset="28.57%" stop-color="#747429"/><stop offset="35.71%" stop-color="#787830"/><stop offset="42.86%" stop-color="#7b7c37"/><stop offset="50%" stop-color="#7f7f3d"/><stop offset="57.14%" stop-color="#838343"/><stop offset="64.29%" stop-color="#868749"/><stop offset="71.43%" stop-color="#8a8a4f"/><stop offset="78.57%" stop-color="#8e8e55"/><stop offset="85.71%" stop-color="#91925b"/><stop offset="92.86%" stop-color="#959560"/><stop offset="100%" stop-color="#999966"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"petrichor": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
0.4,
0.4,
0
],
"hex": "#666600"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0.6,
0.6,
0.4
],
"hex": "#999966"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #666600 0%, #999966 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Petrichor",
"contrast": {
"white": {
"ratio": 2.957,
"at": 1,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 3.466,
"at": 0,
"passesAA": false,
"passesAALarge": true
},
"suggestedInk": "#000000"
}
}
},
"$description": "Petrichor (uiGradients, MIT), rendered in OKLab."
}
}Tagged
More yellow gradients
Point any MCP client at the shared gradients endpoint and your agent gets the same engine as this page — make_gradient returns CSS with the interpolation space, Tailwind v4, SVG, a PNG URL, a DTCG token and the contrast report in one call; brand_gradients derives the whole contact sheet from a brand or a palette. Read-only, no key. Every gradient is a /gradients/new/… link: open it, refine, paste it back.
https://mcp.brandsweets.com/gradients/mcpclaude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
›take the Petrichor gradient (#666600, #999966), re-interpolate it in oklch, and tell me the worst-case contrast for white text
Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.
Machine-readable: gradients.md · From uiGradients (MIT) — licences