# Minecraft gradient

Gradients derived from Minecraft'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/minecraft-net
- Brand colors: https://brandsweets.com/colors/brands/minecraft-net · Brand page: https://brandsweets.com/b/minecraft-net
- Palette: primary #313131, secondary #6cc349, accents #0000ee
- Source: https://minecraft.net (extracted 2026-09-05)

## Brand gradient

- CSS: `linear-gradient(135deg in oklab, #313131 0%, #6cc349 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#313131] to-[#6cc349]`
- Contrast (worst point): white 2.20:1 fail · black 1.61:1 fail · banding medium
- Maker: https://brandsweets.com/gradients/new/v1.313131-6cc349?a=135

## Hero background

Chroma ×0.35 so it can carry text; ink white (inkFor at the midpoint). L shifted −0.18 until the ink passes AA at the worst point (4.54:1).

- CSS: `linear-gradient(135deg in oklab, #0c0c0c 0%, #617e57 100%)`
- Tailwind: `bg-linear-to-br/oklab from-[#0c0c0c] to-[#617e57]`
- Contrast (worst point): white 4.54:1 AA · black 1.07:1 fail · banding medium · ink #ffffff
- Maker: https://brandsweets.com/gradients/new/v1.0c0c0c-617e57?a=135

## 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. White ink passes AA on the surface and both states (worst 9.89:1).

- CSS: `linear-gradient(180deg in oklch shorter hue, #3b3b3b 0%, #272727 100%)`
- Tailwind: `bg-linear-to-b/oklch from-[#3b3b3b] to-[#272727]`
- Contrast (worst point): white 11.20:1 AA · black 1.41:1 fail · banding high · ink #ffffff
- Maker: https://brandsweets.com/gradients/new/v1.3b3b3b-272727?a=180&in=oklch&hue=shorter
- Hover: `linear-gradient(180deg in oklch shorter hue, #434343 0%, #2e2e2e 100%)`
- Active: `linear-gradient(180deg in oklch shorter hue, #343434 0%, #202020 100%)`

## Tonal ramp

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

## Analogous

Primary #313131 is achromatic — harmony rotates #6cc349 instead. Partner hue from the analogous rule at the source colour's lightness.

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

## Complementary

Primary #313131 is achromatic — harmony rotates #6cc349 instead. 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, #6cc349 0%, #d584ee 100%)`
- Tailwind: `bg-linear-to-br/oklch from-[#6cc349] to-[#d584ee]`
- Contrast (worst point): white 2.10:1 fail · black 8.34:1 AA · banding high
- Maker: https://brandsweets.com/gradients/new/v1.6cc349-d584ee?a=135&in=oklch&hue=shorter

## Triadic

Primary #313131 is achromatic — harmony rotates #6cc349 instead. Partner hue from the triadic rule at the source colour's lightness.

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

## CSS custom properties (brand.css)

```css
:root {
  /* Brand gradient (derived) */
  /* worst-case contrast: white 2.20:1, black 1.61:1 */
  --brand-gradient: linear-gradient(135deg in oklab, #313131 0%, #6cc349 100%);
  /* hero — worst-case contrast: white 4.54:1 AA, black 1.07:1; ink passes AA at the worst point */
  --brand-gradient-hero: linear-gradient(135deg in oklab, #0c0c0c 0%, #617e57 100%);
  --brand-gradient-hero-ink: #ffffff;
  /* button — worst-case contrast: white 11.20:1 AA, black 1.41:1 */
  --brand-gradient-button: linear-gradient(180deg in oklch shorter hue, #3b3b3b 0%, #272727 100%);
  --brand-gradient-button-hover: linear-gradient(180deg in oklch shorter hue, #434343 0%, #2e2e2e 100%);
  --brand-gradient-button-active: linear-gradient(180deg in oklch shorter hue, #343434 0%, #202020 100%);
  --brand-gradient-button-ink: #ffffff;
}
```

## 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.
