Named gradient · uiGradients

Moss

Moss is a blue gradient from uiGradients (MIT) — #134e5e → #71b280 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
white text · worst 2.50:1 · fails
white 2.50 failsblack 2.28 failsbanding 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.

sRGB75%
OKLab74%
OKLCH78%

Report

  • white ink: worst 2.50:1 at 100% (fails AA); black ink: worst 2.28:1 at 0% (fails AA) → use white text.
  • Neither ink passes AA at the worst point — treat as decorative or add a scrim (rgba(0,0,0,.35) typically lifts white ink past 4:1).
  • Banding medium: ~14px bands at 1440px — add grain 30 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #134e5e 0%, #1a5561 7.14%, #215c64 14.29%, #286366 21.43%, #2e6a69 28.57%, #35716c 35.71%, #3b786e 42.86%, #427f71 50%, #498673 57.14%, #4f8d75 64.29%, #569478 71.43%, #5d9c7a 78.57%, #63a37c 85.71%, #6aab7e 92.86%, #71b280 100%);
  background-image: linear-gradient(90deg in oklab, #134e5e 0%, #71b280 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#134e5e] to-[#71b280]
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="#134e5e"/><stop offset="7.14%" stop-color="#1a5561"/><stop offset="14.29%" stop-color="#215c64"/><stop offset="21.43%" stop-color="#286366"/><stop offset="28.57%" stop-color="#2e6a69"/><stop offset="35.71%" stop-color="#35716c"/><stop offset="42.86%" stop-color="#3b786e"/><stop offset="50%" stop-color="#427f71"/><stop offset="57.14%" stop-color="#498673"/><stop offset="64.29%" stop-color="#4f8d75"/><stop offset="71.43%" stop-color="#569478"/><stop offset="78.57%" stop-color="#5d9c7a"/><stop offset="85.71%" stop-color="#63a37c"/><stop offset="92.86%" stop-color="#6aab7e"/><stop offset="100%" stop-color="#71b280"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "moss": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.075,
            0.306,
            0.369
          ],
          "hex": "#134e5e"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.443,
            0.698,
            0.502
          ],
          "hex": "#71b280"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #134e5e 0%, #71b280 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Moss",
        "contrast": {
          "white": {
            "ratio": 2.505,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 2.279,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#ffffff"
        }
      }
    },
    "$description": "Moss (uiGradients, MIT), rendered in OKLab."
  }
}

Tagged

More blue 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 Moss gradient (#134e5e, #71b280), 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