Named gradient · WebGradients

Sun Veggie

Sun Veggie is a teal gradient from WebGradients (MIT) — #20e2d7 → #f9fea5 at 135°. 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 12.92:1 · AA
white 1.06 failsblack 12.92 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.

sRGB84%
OKLab76%
OKLCH89%

Report

  • white ink: worst 1.06:1 at 100% (fails AA); black ink: worst 12.92:1 at 0% (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(135deg, #20e2d7 0%, #45e4d4 7.14%, #5ce7d1 14.29%, #6fe9ce 21.43%, #7febcb 28.57%, #8eedc8 35.71%, #9cefc5 42.86%, #a9f2c1 50%, #b5f3be 57.14%, #c1f5ba 64.29%, #cdf7b6 71.43%, #d8f9b2 78.57%, #e3fbae 85.71%, #eefcaa 92.86%, #f9fea5 100%);
  background-image: linear-gradient(135deg in oklab, #20e2d7 0%, #f9fea5 100%);
}
tailwind v4
bg-linear-to-br/oklab from-[#20e2d7] to-[#f9fea5]
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="210" y1="-210" x2="1230" y2="810"><stop offset="0%" stop-color="#20e2d7"/><stop offset="7.14%" stop-color="#45e4d4"/><stop offset="14.29%" stop-color="#5ce7d1"/><stop offset="21.43%" stop-color="#6fe9ce"/><stop offset="28.57%" stop-color="#7febcb"/><stop offset="35.71%" stop-color="#8eedc8"/><stop offset="42.86%" stop-color="#9cefc5"/><stop offset="50%" stop-color="#a9f2c1"/><stop offset="57.14%" stop-color="#b5f3be"/><stop offset="64.29%" stop-color="#c1f5ba"/><stop offset="71.43%" stop-color="#cdf7b6"/><stop offset="78.57%" stop-color="#d8f9b2"/><stop offset="85.71%" stop-color="#e3fbae"/><stop offset="92.86%" stop-color="#eefcaa"/><stop offset="100%" stop-color="#f9fea5"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "sun-veggie": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.125,
            0.886,
            0.843
          ],
          "hex": "#20e2d7"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.976,
            0.996,
            0.647
          ],
          "hex": "#f9fea5"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(135deg in oklab, #20e2d7 0%, #f9fea5 100%)",
        "interpolation": "oklab",
        "angle": 135,
        "name": "Sun Veggie",
        "contrast": {
          "white": {
            "ratio": 1.063,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 12.921,
            "at": 0,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Sun Veggie (WebGradients, MIT), rendered in OKLab."
  }
}

Tagged

More teal 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 Sun Veggie gradient (#20e2d7, #f9fea5), 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 WebGradients (MIT) — licences