Color

#407e02

#407e02
hex#407e02
rgbrgb(64, 126, 2)
hslhsl(90, 97%, 25%)
oklchoklch(0.53 0.154 135)
Closest name: Avocado (#568203)Relative luminance 0.1602

Tints & shades

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

Harmonies

Complementary

Open in tool →

#40027e

#7e7e02 · #027e02

#02407e · #7e0240

Split-complementary

Open in tool →

#02027e · #7e027e

#027e7e · #40027e · #7e0202

Contrast

#407e02 as textRatioAAAA largeAAAFix
Aaon white
5:1passpassfail
  • AAA: use #336402 as the text (7.08:1)
Aaon black
4.2:1failpassfail
  • AA: use #458802 as the text (4.78:1)
  • AAA: use #57ab03 as the text (7.23:1)
  • AA: or shift the background to #f5f5f5 (4.58:1)

Fixes keep hue and saturation and move lightness only, so the suggestion stays on-brand. Ratios are symmetric: the same numbers apply with #407e02 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

#407e02 reads as vivid, dark, luxury. The font library is tagged with the same vocabulary:

mcpConnect your agent — build around #407e02
live endpoint

Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — generate_palette, check_contrast, analyze_color — read-only, no key. Every palette it proposes comes with a /palettes/new/… link: open it, lock what you like, paste the link back.

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

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

tool url/palettes/new/407e02-adbea2-514edf-202d1f-f1f1e9?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