Named gradient · uiGradients

Harvey

Harvey is a teal gradient from uiGradients (MIT) — #1f4037 → #99f2c8 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 1.85:1 · fails
white 1.32 failsblack 1.85 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.

sRGB58%
OKLab58%
OKLCH58%

Report

  • white ink: worst 1.32:1 at 100% (fails AA); black ink: worst 1.85:1 at 0% (fails AA) → use black 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: ~8px bands at 1440px — add grain 16 (≈2% soft-light noise) or shorten the ramp.

Export

css
.gradient {
  background-image: linear-gradient(90deg, #1f4037 0%, #274b40 7.14%, #2e574a 14.29%, #376253 21.43%, #3f6f5d 28.57%, #477b67 35.71%, #508771 42.86%, #58947c 50%, #61a186 57.14%, #6aae91 64.29%, #73bb9c 71.43%, #7dc9a6 78.57%, #86d6b1 85.71%, #8fe4bd 92.86%, #99f2c8 100%);
  background-image: linear-gradient(90deg in oklab, #1f4037 0%, #99f2c8 100%);
}
tailwind v4
bg-linear-to-r/oklab from-[#1f4037] to-[#99f2c8]
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="#1f4037"/><stop offset="7.14%" stop-color="#274b40"/><stop offset="14.29%" stop-color="#2e574a"/><stop offset="21.43%" stop-color="#376253"/><stop offset="28.57%" stop-color="#3f6f5d"/><stop offset="35.71%" stop-color="#477b67"/><stop offset="42.86%" stop-color="#508771"/><stop offset="50%" stop-color="#58947c"/><stop offset="57.14%" stop-color="#61a186"/><stop offset="64.29%" stop-color="#6aae91"/><stop offset="71.43%" stop-color="#73bb9c"/><stop offset="78.57%" stop-color="#7dc9a6"/><stop offset="85.71%" stop-color="#86d6b1"/><stop offset="92.86%" stop-color="#8fe4bd"/><stop offset="100%" stop-color="#99f2c8"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
dtcg
{
  "harvey": {
    "$type": "gradient",
    "$value": [
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.122,
            0.251,
            0.216
          ],
          "hex": "#1f4037"
        },
        "position": 0
      },
      {
        "color": {
          "colorSpace": "srgb",
          "components": [
            0.6,
            0.949,
            0.784
          ],
          "hex": "#99f2c8"
        },
        "position": 1
      }
    ],
    "$extensions": {
      "com.brandsweets": {
        "kind": "linear",
        "css": "linear-gradient(90deg in oklab, #1f4037 0%, #99f2c8 100%)",
        "interpolation": "oklab",
        "angle": 90,
        "name": "Harvey",
        "contrast": {
          "white": {
            "ratio": 1.322,
            "at": 1,
            "passesAA": false,
            "passesAALarge": false
          },
          "black": {
            "ratio": 1.847,
            "at": 0,
            "passesAA": false,
            "passesAALarge": false
          },
          "suggestedInk": "#000000"
        }
      }
    },
    "$description": "Harvey (uiGradients, 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 Harvey gradient (#1f4037, #99f2c8), 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