Home /Colors /#5F981B
#5F981B#5F981B

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

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #5F981B

#5F981B Accessibility & WCAG Contrast

Relative luminance of #5F981B is 0.2497. Its WCAG contrast ratio is 3.50:1 against white and 5.99:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#5F981B on white3.50:1AA Large
The quick brown fox
#5F981B on black5.99:1AA
The quick brown fox
White on #5F981B3.50:1AA Large
The quick brown fox
Black on #5F981B5.99:1AA

#5F981B — Frequently Asked Questions

What is the hex code for #5F981B?+
The hex code for #5F981B is #5F981B. In RGB it's rgb(95, 152, 27), and in HSL it's hsl(87, 70%, 35%).
What is the RGB value of #5F981B?+
#5F981B in RGB is (95, 152, 27). Written in CSS: rgb(95, 152, 27).
What is the CMYK value of #5F981B?+
#5F981B converts to CMYK(38%, 0%, 82%, 40%) for print. Hex equivalent is #5F981B.
Is #5f981b a warm or cool color?+
#5F981B (#5F981B) is a transitional yellow-green — its hue sits at 87° on the color wheel, placing it in the transitional part of the spectrum.
What color family does #5f981b belong to?+
#5F981B belongs to the yellow-green family. Its HSL is 87°, 70%, 35% — a transitional tone within the broader yellow-green group.
Is #5f981b accessible for body text on a white background?+
#5F981B on white reaches a WCAG contrast ratio of 3.5:1 — passes AA only for large text (18pt+). Use a darker shade for body copy.
What is the closest Pantone match for #5f981b?+
The nearest Pantone match for #5F981B (#5F981B) is 376 C Pantone 376 C, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #5F981B in design

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

Web & UI design

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

Branding & identity

As a brand color, #5F981B (#5F981B) reads as high-energy and confident and versatile across product tiers. It fits naturally into wellness, organic food, fresh-produce, eco-conscious products. Use it as the primary identity color and pair with one neutral (white, off-white, or near-black). 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

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

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