Home /Colors /#D8A840
#D8A840#D8A840

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

ShadesTints
Preview
Text on White
White on Color
ShareSave to PinterestTweet

Explore #D8A840

#D8A840 Accessibility & WCAG Contrast

Relative luminance of #D8A840 is 0.4297. Its WCAG contrast ratio is 2.19:1 against white and 9.59:1 against black. Use the card with the higher ratio for body text.

The quick brown fox
#D8A840 on white2.19:1Fail
The quick brown fox
#D8A840 on black9.59:1AAA
The quick brown fox
White on #D8A8402.19:1Fail
The quick brown fox
Black on #D8A8409.59:1AAA

#D8A840 — Frequently Asked Questions

What is the hex code for #D8A840?+
The hex code for #D8A840 is #D8A840. In RGB it's rgb(216, 168, 64), and in HSL it's hsl(41, 66%, 55%).
What is the RGB value of #D8A840?+
#D8A840 in RGB is (216, 168, 64). Written in CSS: rgb(216, 168, 64).
What is the CMYK value of #D8A840?+
#D8A840 converts to CMYK(0%, 22%, 70%, 15%) for print. Hex equivalent is #D8A840.
Is #d8a840 a warm or cool color?+
#D8A840 (#D8A840) is a warm yellow — its hue sits at 41° on the color wheel, placing it in the warm part of the spectrum.
What color family does #d8a840 belong to?+
#D8A840 belongs to the yellow family. Its HSL is 41°, 66%, 55% — a warm tone within the broader yellow group.
Is #d8a840 accessible for body text on a white background?+
#D8A840 on white reaches a WCAG contrast ratio of 2.19: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 #d8a840?+
The nearest Pantone match for #D8A840 (#D8A840) is 735 C Pantone 735 C, calculated by Euclidean RGB distance over the Pantone Matching System.

How to use #D8A840 in design

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

Web & UI design

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

Branding & identity

As a brand color, #D8A840 (#D8A840) 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

#D8A840 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 — #d8a840 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

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

Brands that use #D8A840

Major brands whose official palette contains a color within ~30 RGB units of #d8a840 (#D8A840). Click through for the full brand color guide.

Starbucks#CBA258 · Starbucks Light GreenSlack#ECB22E · Slack Yellow