# N26 gradient

Gradients derived from N26's published colour tokens (nominative use; no brand assets). Deterministic: the same values are served as `--brand-gradient*` in the brand's brand.css.

- Page: https://brandsweets.com/gradients/brands/n26-com
- Brand colors: https://brandsweets.com/colors/brands/n26-com · Brand page: https://brandsweets.com/b/n26-com
- Palette: primary #48ac98, secondary #088177, accents #003b39
- Source: https://n26.com (extracted 2026-09-02)

## Brand gradient

ΔE_OK 0.137 < 0.15 between #48ac98 and #088177 — a 2-stop would read as a flat fill, so this is a tonal ramp of #48ac98.

- CSS: `linear-gradient(135deg in oklch shorter hue, #85e6d1 0%, #48ac98 50%, #007563 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#85e6d1] via-[#48ac98] to-[#007563]`
- Contrast (worst point): white 1.48:1 fail · black 3.73:1 AA-large · banding high
- Maker: https://brandsweets.com/gradients/new/v1.85e6d1-48ac98-007563?a=135&in=oklch&hue=shorter

## Hero background

Chroma ×0.35 so it can carry text; ink black (inkFor at the midpoint). L shifted +0.06 until the ink passes AA at the worst point (4.66:1).

- CSS: `linear-gradient(135deg in oklch shorter hue, #cceae3 0%, #94b2aa 50%, #627c76 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#cceae3] via-[#94b2aa] to-[#627c76]`
- Contrast (worst point): white 1.28:1 fail · black 4.66:1 AA · banding high · ink #000000
- Maker: https://brandsweets.com/gradients/new/v1.cceae3-94b2aa-627c76?a=135&in=oklch&hue=shorter

## Button / CTA

ΔL 0.08 top→bottom in the primary's hue (a lit surface, not a rainbow); hover L +0.03, active L −0.03. Black ink passes AA on the surface and both states (worst 5.81:1).

- CSS: `linear-gradient(180deg in oklch shorter hue, #56b9a4 0%, #3a9f8c 100%)`
- Tailwind: `bg-linear-to-b/oklch from-[#56b9a4] to-[#3a9f8c]`
- Contrast (worst point): white 2.37:1 fail · black 6.52:1 AA · banding high · ink #000000
- Maker: https://brandsweets.com/gradients/new/v1.56b9a4-3a9f8c?a=180&in=oklch&hue=shorter
- Hover: `linear-gradient(180deg in oklch shorter hue, #60c2ae 0%, #44a995 100%)`
- Active: `linear-gradient(180deg in oklch shorter hue, #4caf9b 0%, #2e9683 100%)`

## Tonal ramp

- CSS: `linear-gradient(135deg in oklch shorter hue, #85e6d1 0%, #48ac98 50%, #007563 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#85e6d1] via-[#48ac98] to-[#007563]`
- Contrast (worst point): white 1.48:1 fail · black 3.73:1 AA-large · banding high
- Maker: https://brandsweets.com/gradients/new/v1.85e6d1-48ac98-007563?a=135&in=oklch&hue=shorter

## Analogous

Partner hue from the analogous rule at the source colour's lightness.

- CSS: `linear-gradient(135deg in oklab, #48ac98 0%, #48b15e 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#48ac98] to-[#48b15e]`
- Contrast (worst point): white 2.71:1 fail · black 7.60:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.48ac98-48b15e?a=135

## Complementary

Partner hue from the complementary rule at the source colour's lightness. ΔH 180° > 140° — interpolating in oklch (shorter hue) keeps the midpoint saturated.

- CSS: `linear-gradient(135deg in oklch shorter hue, #48ac98 0%, #ec5e98 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#48ac98] to-[#ec5e98]`
- Contrast (worst point): white 2.75:1 fail · black 6.59:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.48ac98-ec5e98?a=135&in=oklch&hue=shorter

## Triadic

Partner hue from the triadic rule at the source colour's lightness.

- CSS: `linear-gradient(135deg in oklab, #48ac98 0%, #a481ea 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#48ac98] to-[#a481ea]`
- Contrast (worst point): white 2.74:1 fail · black 6.91:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.48ac98-a481ea?a=135

## CSS custom properties (brand.css)

```css
:root {
  /* Brand gradient (derived) */
  /* worst-case contrast: white 1.48:1, black 3.73:1 AA-large */
  --brand-gradient: linear-gradient(135deg in oklch shorter hue, #85e6d1 0%, #48ac98 50%, #007563 100%);
  /* hero — worst-case contrast: white 1.28:1, black 4.66:1 AA; ink passes AA at the worst point */
  --brand-gradient-hero: linear-gradient(135deg in oklch shorter hue, #cceae3 0%, #94b2aa 50%, #627c76 100%);
  --brand-gradient-hero-ink: #000000;
  /* button — worst-case contrast: white 2.37:1, black 6.52:1 AA */
  --brand-gradient-button: linear-gradient(180deg in oklch shorter hue, #56b9a4 0%, #3a9f8c 100%);
  --brand-gradient-button-hover: linear-gradient(180deg in oklch shorter hue, #60c2ae 0%, #44a995 100%);
  --brand-gradient-button-active: linear-gradient(180deg in oklch shorter hue, #4caf9b 0%, #2e9683 100%);
  --brand-gradient-button-ink: #000000;
}
```

## Gradient maker

Every maker URL is the gradient's state: `/gradients/new/v1.<hex>-<hex>[_pos]?a=135&in=oklch&hue=shorter&e=soft&g=8`. Hand one to a human, let them refine, and read the link they return.

## Connect an agent

Point any MCP client at the BrandSweets gradients endpoint for the same engine and corpus:

- Endpoint: https://mcp.brandsweets.com/gradients/mcp
- Tools: `make_gradient` (2–5 colours → CSS with the interpolation space, Tailwind v4, SVG, PNG URL, DTCG token + the contrast/banding/gamut report), `brand_gradients` (brand slug or palette → brand gradient, hero, button, variants).
- Resource: `gradients://corpus` — the whole bundled corpus as JSON.
