Color

#402f12

#402f12
hex#402f12
rgbrgb(64, 47, 18)
hslhsl(38, 56%, 16%)
oklchoklch(0.318 0.05 78.6)
Closest name: Cola (#3c2f23)Relative luminance 0.0317

Colors that go with #402f12

Royal Blue, Sienna and Steel Blue lead the list. Each partner is a real named colour with the reason it works — a wheel relationship, a neutral that carries it, or a pairing lifted from a palette or brand system that actually shipped — and every pair opens in the palette tool.

Real palettes that use #402f12

Tints & shades

Every swatch is its own page — click any to analyze it.

Harmonies

Complementary

Open in tool →

#122340

#401812 · #3a4012

#12402f · #2f1240

Split-complementary

Open in tool →

#123a40 · #181240

#124018 · #122340 · #40123a

Contrast

#402f12 as textRatioAAAA largeAAAFix
Aaon white
12.86:1passpasspassPasses AAA — no fix needed.
Aaon black
1.63:1failfailfail
  • AA: use #976f2b as the text (4.62:1)
  • AAA: use #bf8d36 as the text (7.08:1)
  • AA: or shift the background to #999999 (4.51:1)
  • AAA: or shift the background to #c2c2c2 (7.22:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #402f12 as the background.

Brands using this color

No public brand in the corpus uses this exact color yet. Extract a brand to add one.

Fonts for this mood

#402f12 reads as warm, dark, luxury. The font library is tagged with the same vocabulary:

mcpConnect your agent — build around #402f12
live endpoint

Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — direct_palette, edit_direction, check_palette, check_contrast — read-only, no key. Every direction it proposes comes with a /colors/d/… link: open it, lock what you like, paste the link back, and the agent edits rather than re-rolls.

endpointhttps://mcp.brandsweets.com/colors/mcp
claude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
try this prompt

analyze #402f12 and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/402f12-c4ba9c-62bbcb-2c2d1f-f1ebe9?lock=0&style=vibrant

Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.

Machine-readable: color.md