Named gradient · WebGradients

Magic Lake

Magic Lake is a green gradient from WebGradients (MIT) — #d5dee7 → #ffafbd → #c9ffbf 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 12.16:1 · AA
white 1.13 failsblack 12.16 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.

sRGB27%
OKLab27%
OKLCH27%

Report

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

Export

css
.gradient {
  background-image: linear-gradient(0deg, #d5dee7 0%, #d5dee7 0%, #d5dee7 0%, #d5dee7 0%, #d5dee7 0%, #d5dee7 0%, #d5dee7 0%, #d5dee7 0%, #d5dee7 0%, #d5dee7 0%, #d5dee7 0%, #d5dee7 0%, #d5dee7 0%, #d5dee7 0%, #ffafbd 0%, #fcb5bd 7.14%, #fabbbe 14.29%, #f7c1be 21.43%, #f4c7be 28.57%, #f1cdbe 35.71%, #edd3be 42.86%, #ead8bf 50%, #e6debf 57.14%, #e2e4bf 64.29%, #dde9bf 71.43%, #d9efbf 78.57%, #d4f4bf 85.71%, #cffabf 92.86%, #c9ffbf 100%);
  background-image: linear-gradient(0deg in oklab, #d5dee7 0%, #ffafbd 0%, #c9ffbf 100%);
}
tailwind v4
bg-linear-to-t/oklab from-[#d5dee7] via-[#ffafbd] via-0% to-[#c9ffbf]
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="#d5dee7"/><stop offset="0%" stop-color="#d5dee7"/><stop offset="0%" stop-color="#d5dee7"/><stop offset="0%" stop-color="#d5dee7"/><stop offset="0%" stop-color="#d5dee7"/><stop offset="0%" stop-color="#d5dee7"/><stop offset="0%" stop-color="#d5dee7"/><stop offset="0%" stop-color="#d5dee7"/><stop offset="0%" stop-color="#d5dee7"/><stop offset="0%" stop-color="#d5dee7"/><stop offset="0%" stop-color="#d5dee7"/><stop offset="0%" stop-color="#d5dee7"/><stop offset="0%" stop-color="#d5dee7"/><stop offset="0%" stop-color="#d5dee7"/><stop offset="0%" stop-color="#ffafbd"/><stop offset="7.14%" stop-color="#fcb5bd"/><stop offset="14.29%" stop-color="#fabbbe"/><stop offset="21.43%" stop-color="#f7c1be"/><stop offset="28.57%" stop-color="#f4c7be"/><stop offset="35.71%" stop-color="#f1cdbe"/><stop offset="42.86%" stop-color="#edd3be"/><stop offset="50%" stop-color="#ead8bf"/><stop offset="57.14%" stop-color="#e6debf"/><stop offset="64.29%" stop-color="#e2e4bf"/><stop offset="71.43%" stop-color="#dde9bf"/><stop offset="78.57%" stop-color="#d9efbf"/><stop offset="85.71%" stop-color="#d4f4bf"/><stop offset="92.86%" stop-color="#cffabf"/><stop offset="100%" stop-color="#c9ffbf"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "magic-lake": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.835,
            0.871,
            0.906
          ],
          "hex": "#d5dee7"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            1,
            0.686,
            0.741
          ],
          "hex": "#ffafbd"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.788,
            1,
            0.749
          ],
          "hex": "#c9ffbf"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(0deg in oklab, #d5dee7 0%, #ffafbd 0%, #c9ffbf 100%)",
        "interpolation": "oklab",
        "angle": 0,
        "name": "Magic Lake",
        "contrast": {
          "white": {
            "ratio": 1.133,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 12.159,
            "at": 0.0159,
            "passesAA": true,
            "passesAALarge": true
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Magic Lake (WebGradients, 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 Magic Lake gradient (#d5dee7, #ffafbd, #c9ffbf), 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