Named gradient · uiGradients

Martini

Martini is a yellow gradient from uiGradients (MIT) — #fdfc47 → #24fe41 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.

Aa — the quick brown fox
black text · worst 15.33:1 · AA
white 1.09 failsblack 15.33 AAbanding medium

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.

sRGB82%
OKLab82%
OKLCH82%

Report

  • white ink: worst 1.09:1 at 0% (fails AA); black ink: worst 15.33:1 at 100% (AA) → use black text.
  • Banding medium: ~7px bands at 1440px — add grain 12 (≈1% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #fdfc47 0%, #f3fd47 7.14%, #e9fd46 14.29%, #dffd46 21.43%, #d4fe45 28.57%, #c9fe45 35.71%, #bdfe44 42.86%, #b1fe44 50%, #a5fe44 57.14%, #97ff43 64.29%, #88ff43 71.43%, #77fe42 78.57%, #64fe42 85.71%, #4cfe41 92.86%, #24fe41 100%);
  background-image: linear-gradient(90deg in oklab, #fdfc47 0%, #24fe41 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#fdfc47] to-[#24fe41]
svg
<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="#fdfc47"/><stop offset="7.14%" stop-color="#f3fd47"/><stop offset="14.29%" stop-color="#e9fd46"/><stop offset="21.43%" stop-color="#dffd46"/><stop offset="28.57%" stop-color="#d4fe45"/><stop offset="35.71%" stop-color="#c9fe45"/><stop offset="42.86%" stop-color="#bdfe44"/><stop offset="50%" stop-color="#b1fe44"/><stop offset="57.14%" stop-color="#a5fe44"/><stop offset="64.29%" stop-color="#97ff43"/><stop offset="71.43%" stop-color="#88ff43"/><stop offset="78.57%" stop-color="#77fe42"/><stop offset="85.71%" stop-color="#64fe42"/><stop offset="92.86%" stop-color="#4cfe41"/><stop offset="100%" stop-color="#24fe41"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "martini": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.992,
            0.988,
            0.278
          ],
          "hex": "#fdfc47"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.141,
            0.996,
            0.255
          ],
          "hex": "#24fe41"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #fdfc47 0%, #24fe41 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Martini",
        "contrast": {
          "white": {
            "ratio": 1.094,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 15.328,
            "at": 1,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Martini (uiGradients, MIT), rendered in OKLab."
  }
}

Tagged

More yellow gradients

mcpConnect your agent to the gradient engine
live endpoint

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.

endpointhttps://mcp.brandsweets.com/gradients/mcp
claude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
try this prompt

take the Martini gradient (#fdfc47, #24fe41), 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