Home /Colors /#5F7042
#5F7042#5F7042

#5F7042 color code is #5F7042. Use this page to get all code formats, explore shades and tints, and find colors that work with #5f7042.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #5F7042

#5F7042 Accessibility & WCAG Contrast

Relative luminance of #5F7042 is 0.1441. Its WCAG contrast ratio is 5.41:1 against white and 3.88:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#5F7042 on white5.41:1AA
The quick brown fox
#5F7042 on black3.88:1AA Large
The quick brown fox
White on #5F70425.41:1AA
The quick brown fox
Black on #5F70423.88:1AA Large

#5F7042 — Frequently Asked Questions

What is the hex code for #5F7042?+
The hex code for #5F7042 is #5F7042. In RGB it's rgb(95, 112, 66), and in HSL it's hsl(82, 26%, 35%).
What is the RGB value of #5F7042?+
#5F7042 in RGB is (95, 112, 66). Written in CSS: rgb(95, 112, 66).
What is the CMYK value of #5F7042?+
#5F7042 converts to CMYK(15%, 0%, 41%, 56%) for print. Hex equivalent is #5F7042.
Is #5f7042 a warm or cool color?+
#5F7042 (#5F7042) is a transitional yellow-green — its hue sits at 82° on the color wheel, placing it in the transitional part of the spectrum.
What color family does #5f7042 belong to?+
#5F7042 belongs to the yellow-green family. Its HSL is 82°, 26%, 35% — a transitional tone within the broader yellow-green group.
Is #5f7042 accessible for body text on a white background?+
#5F7042 on white reaches a WCAG contrast ratio of 5.41:1 — passes WCAG AA for body text on white.
What is the closest Pantone match for #5f7042?+
The nearest Pantone match for #5F7042 (#5F7042) is 4609 C Olive 70s, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #5F7042 in design

Practical guidance for using #5f7042 (#5F7042) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

Use #5F7042 (#5F7042) as primary text or icon color on white backgrounds — at 5.4:1 contrast it passes WCAG AA for body copy. Avoid placing #5f7042 text on dark surfaces; the contrast drops below the AA threshold.

Branding & identity

As a brand color, #5F7042 (#5F7042) reads as considered and grown-up and versatile across product tiers. It fits naturally into wellness, organic food, fresh-produce, eco-conscious products. Pair it with a single bold accent so it doesn't read as too quiet. 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

#5F7042 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

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