Named gradient · WebGradients

Happy Acid

Happy Acid is a teal gradient from WebGradients (MIT) — #37ecba → #72afd3 at 0°. 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 8.79:1 · AA
white 1.51 failsblack 8.79 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.

sRGB68%
OKLab68%
OKLCH68%

Report

  • white ink: worst 1.51:1 at 1% (fails AA); black ink: worst 8.79:1 at 100% (AA) → use black text.
  • Banding high: ~24px bands at 1440px — add grain 45 (≈3% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(0deg, #37ecba 0%, #3fe8bc 7.14%, #46e3be 14.29%, #4cdfc0 21.43%, #51dbc2 28.57%, #56d7c4 35.71%, #5ad2c6 42.86%, #5ecec8 50%, #62caca 57.14%, #65c5cb 64.29%, #68c1cd 71.43%, #6bbccf 78.57%, #6db8d0 85.71%, #70b3d2 92.86%, #72afd3 100%);
  background-image: linear-gradient(0deg in oklab, #37ecba 0%, #72afd3 100%);
}
tailwind v4
bg-linear-to-t/oklab from-[#37ecba] to-[#72afd3]
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="720" y1="600" x2="720" y2="0"><stop offset="0%" stop-color="#37ecba"/><stop offset="7.14%" stop-color="#3fe8bc"/><stop offset="14.29%" stop-color="#46e3be"/><stop offset="21.43%" stop-color="#4cdfc0"/><stop offset="28.57%" stop-color="#51dbc2"/><stop offset="35.71%" stop-color="#56d7c4"/><stop offset="42.86%" stop-color="#5ad2c6"/><stop offset="50%" stop-color="#5ecec8"/><stop offset="57.14%" stop-color="#62caca"/><stop offset="64.29%" stop-color="#65c5cb"/><stop offset="71.43%" stop-color="#68c1cd"/><stop offset="78.57%" stop-color="#6bbccf"/><stop offset="85.71%" stop-color="#6db8d0"/><stop offset="92.86%" stop-color="#70b3d2"/><stop offset="100%" stop-color="#72afd3"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "happy-acid": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.216,
            0.925,
            0.729
          ],
          "hex": "#37ecba"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.447,
            0.686,
            0.827
          ],
          "hex": "#72afd3"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(0deg in oklab, #37ecba 0%, #72afd3 100%)",
        "interpolation": "oklab",
        "angle": 0,
        "name": "Happy Acid",
        "contrast": {
          "white": {
            "ratio": 1.513,
            "at": 0.0084,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 8.788,
            "at": 1,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Happy Acid (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 Happy Acid gradient (#37ecba, #72afd3), 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