Home /Colors /#7F8C40
#7F8C40#7F8C40

#7F8C40 color code is #7F8C40. Use this page to get all code formats, explore shades and tints, and find colors that work with #7f8c40.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #7F8C40

#7F8C40 Accessibility & WCAG Contrast

Relative luminance of #7F8C40 is 0.2364. Its WCAG contrast ratio is 3.67:1 against white and 5.73:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#7F8C40 on white3.67:1AA Large
The quick brown fox
#7F8C40 on black5.73:1AA
The quick brown fox
White on #7F8C403.67:1AA Large
The quick brown fox
Black on #7F8C405.73:1AA

#7F8C40 — Frequently Asked Questions

What is the hex code for #7F8C40?+
The hex code for #7F8C40 is #7F8C40. In RGB it's rgb(127, 140, 64), and in HSL it's hsl(70, 37%, 40%).
What is the RGB value of #7F8C40?+
#7F8C40 in RGB is (127, 140, 64). Written in CSS: rgb(127, 140, 64).
What is the CMYK value of #7F8C40?+
#7F8C40 converts to CMYK(9%, 0%, 54%, 45%) for print. Hex equivalent is #7F8C40.
Is #7f8c40 a warm or cool color?+
#7F8C40 (#7F8C40) is a transitional yellow-green — its hue sits at 70° on the color wheel, placing it in the transitional part of the spectrum.
What color family does #7f8c40 belong to?+
#7F8C40 belongs to the yellow-green family. Its HSL is 70°, 37%, 40% — a transitional tone within the broader yellow-green group.
Is #7f8c40 accessible for body text on a white background?+
#7F8C40 on white reaches a WCAG contrast ratio of 3.67:1 — passes AA only for large text (18pt+). Use a darker shade for body copy.
What is the closest Pantone match for #7f8c40?+
The nearest Pantone match for #7F8C40 (#7F8C40) is 7490 C Olive Green, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #7F8C40 in design

Practical guidance for using #7f8c40 (#7F8C40) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

#7F8C40 (#7F8C40) works well as a background color in dark UIs or as a button fill paired with white text — at 5.7:1 against black it's AA-accessible for body text reversed onto it. Don't use it for text on a white background; 3.7:1 contrast won't pass AA.

Branding & identity

As a brand color, #7F8C40 (#7F8C40) reads as balanced and approachable and versatile across product tiers. It fits naturally into wellness, organic food, fresh-produce, eco-conscious products. Pair it with a higher-contrast accent (warm if yellow-green runs cool, cool if it runs warm) for visual hierarchy. Test legibility on both your logo and small UI text before locking it in — saturation that works on a 200px logo can feel overpowering at favicon scale.

Fashion & apparel

#7F8C40 flatters cool-leaning skin tones (pink, rosy, blue undertones) and works best in autumn/winter collections. Pair it with cool neutrals (charcoal, slate, off-white, black) and it works as a sophisticated alternative to navy. Deep cool tones photograph richly under indoor light and read as quiet luxury — strong choice for eveningwear.

Interior design

#7F8C40 works as either a primary wall color or a strong accent — versatile across most rooms. As a wall color it pairs with white trim and warm wood; as an accent (sofa, chair, large art) it lifts a neutral room without overwhelming it. Test a large swatch against your room's natural light at three times of day before committing — mid-tone colors shift more than light or dark colors do.