Named gradient · uiGradients

Lemon Twist

Lemon Twist is a green gradient from uiGradients (MIT) — #3ca55c → #b5ac49 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 6.73:1 · AA
white 2.34 failsblack 6.73 AAbanding high

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.

sRGB90%
OKLab89%
OKLCH91%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(90deg, #3ca55c 0%, #49a65b 7.14%, #55a65a 14.29%, #5fa759 21.43%, #69a858 28.57%, #72a857 35.71%, #7aa955 42.86%, #82a954 50%, #8aaa53 57.14%, #92aa51 64.29%, #99ab50 71.43%, #a0ab4e 78.57%, #a7ab4d 85.71%, #aeac4b 92.86%, #b5ac49 100%);
  background-image: linear-gradient(90deg in oklab, #3ca55c 0%, #b5ac49 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#3ca55c] to-[#b5ac49]
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="#3ca55c"/><stop offset="7.14%" stop-color="#49a65b"/><stop offset="14.29%" stop-color="#55a65a"/><stop offset="21.43%" stop-color="#5fa759"/><stop offset="28.57%" stop-color="#69a858"/><stop offset="35.71%" stop-color="#72a857"/><stop offset="42.86%" stop-color="#7aa955"/><stop offset="50%" stop-color="#82a954"/><stop offset="57.14%" stop-color="#8aaa53"/><stop offset="64.29%" stop-color="#92aa51"/><stop offset="71.43%" stop-color="#99ab50"/><stop offset="78.57%" stop-color="#a0ab4e"/><stop offset="85.71%" stop-color="#a7ab4d"/><stop offset="92.86%" stop-color="#aeac4b"/><stop offset="100%" stop-color="#b5ac49"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "lemon-twist": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.235,
            0.647,
            0.361
          ],
          "hex": "#3ca55c"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.71,
            0.675,
            0.286
          ],
          "hex": "#b5ac49"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #3ca55c 0%, #b5ac49 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Lemon Twist",
        "contrast": {
          "white": {
            "ratio": 2.343,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 6.729,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Lemon Twist (uiGradients, MIT), rendered in OKLab."
  }
}

Tagged

More green 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 Lemon Twist gradient (#3ca55c, #b5ac49), 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