Color

#afb540

#afb540
hex#afb540
rgbrgb(175, 181, 64)
hslhsl(63, 48%, 48%)
oklchoklch(0.746 0.138 112.1)
Closest name: Celery (#b4c04c)Relative luminance 0.4253

Colors that go with #afb540

Charcoal, Cornflower Blue and Lilac 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 #afb540

Tints & shades

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

Harmonies

Complementary

Open in tool →

#4640b5

#b58040 · #75b540

#40afb5 · #b540af

Split-complementary

Open in tool →

#4075b5 · #8040b5

#40b580 · #4640b5 · #b54075

Contrast

#afb540 as textRatioAAAA largeAAAFix
Aaon white
2.21:1failfailfail
  • AA: use #75792a as the text (4.64:1)
  • AAA: use #585b20 as the text (7.16:1)
  • AA: or shift the background to #424242 (4.55:1)
  • AAA: or shift the background to #242424 (7.03:1)
Aaon black
9.51:1passpasspassPasses AAA — no fix needed.

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

Brands using this color

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

mcpConnect your agent — build around #afb540
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 #afb540 and generate a 5-color palette that keeps it as the primary; give me the /palettes/new link

tool url/palettes/new/afb540-b9bea2-4e8ddf-262d1f-f1eee9?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