Home /Colors /#D4B840
#D4B840#D4B840

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

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #D4B840

#D4B840 Accessibility & WCAG Contrast

Relative luminance of #D4B840 is 0.4865. Its WCAG contrast ratio is 1.96:1 against white and 10.73:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#D4B840 on white1.96:1Fail
The quick brown fox
#D4B840 on black10.73:1AAA
The quick brown fox
White on #D4B8401.96:1Fail
The quick brown fox
Black on #D4B84010.73:1AAA

#D4B840 — Frequently Asked Questions

What is the hex code for #D4B840?+
The hex code for #D4B840 is #D4B840. In RGB it's rgb(212, 184, 64), and in HSL it's hsl(49, 63%, 54%).
What is the RGB value of #D4B840?+
#D4B840 in RGB is (212, 184, 64). Written in CSS: rgb(212, 184, 64).
What is the CMYK value of #D4B840?+
#D4B840 converts to CMYK(0%, 13%, 70%, 17%) for print. Hex equivalent is #D4B840.
Is #d4b840 a warm or cool color?+
#D4B840 (#D4B840) is a warm yellow — its hue sits at 49° on the color wheel, placing it in the warm part of the spectrum.
What color family does #d4b840 belong to?+
#D4B840 belongs to the yellow family. Its HSL is 49°, 63%, 54% — a warm tone within the broader yellow group.
Is #d4b840 accessible for body text on a white background?+
#D4B840 on white reaches a WCAG contrast ratio of 1.96:1 — below the AA threshold (4.5:1) for normal body text. Reserve for large headings or pair with a darker variant.
What is the closest Pantone match for #d4b840?+
The nearest Pantone match for #D4B840 (#D4B840) is 457 C Pantone 457 C, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #D4B840 in design

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

Web & UI design

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

Branding & identity

As a brand color, #D4B840 (#D4B840) reads as balanced and approachable and versatile across product tiers. It fits naturally into delivery, logistics, kid-focused brands, signage. Pair it with a higher-contrast accent (warm if yellow 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

#D4B840 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 — #d4b840 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

#D4B840 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.