Home /Colors /#987F1B
#987F1B#987F1B

#987F1B color code is #987F1B. Use this page to get all code formats, explore shades and tints, and find colors that work with #987f1b.

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #987F1B

#987F1B Accessibility & WCAG Contrast

Relative luminance of #987F1B is 0.2193. Its WCAG contrast ratio is 3.90:1 against white and 5.39:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#987F1B on white3.90:1AA Large
The quick brown fox
#987F1B on black5.39:1AA
The quick brown fox
White on #987F1B3.90:1AA Large
The quick brown fox
Black on #987F1B5.39:1AA

#987F1B — Frequently Asked Questions

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

How to use #987F1B in design

Practical guidance for using #987f1b (#987F1B) across four design contexts, derived from its hue, lightness, saturation, and WCAG contrast.

Web & UI design

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

Branding & identity

As a brand color, #987F1B (#987F1B) reads as high-energy and confident and versatile across product tiers. It fits naturally into delivery, logistics, kid-focused brands, signage. 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

#987F1B flatters warm-leaning skin tones (golden, peach, olive undertones) and works well in spring/summer collections. It pairs naturally with warm neutrals (cream, camel, brown, olive) and contrasts effectively with denim or navy. As an accent piece — scarf, bag, shoes — #987f1b can carry an entire neutral outfit; as a head-to-toe color it can overwhelm and is best reserved for evening or statement pieces.

Interior design

#987F1B 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.