On this page
There is no official “dark yellow” in CSS, so the name covers a loose range from mustard-leaning golds to olive-leaning yellows. Below you will find the exact codes, how this color compares with its neighbors, what flatters it, and where it passes or fails contrast checks.
What Dark Yellow Looks Like
has no blue in it at all, which keeps it clean and sunny instead of dusty. It reads as a strong, slightly metallic yellow, close to a school bus that has spent a few summers in the sun. Think of it as a darker cousin of CSS gold (): same family, less glow.
The hue sits at about 52°, in the middle of the yellow band. Lightness does the work of making it “dark”: at 42% it falls below the 50% midpoint, so it feels weightier and warmer than lemon. The palette maker above turns it into monochrome, analogous, complementary, triadic and split sets, and you can copy any code from there.
Dark Yellow Color Codes: HEX, RGB, HSL and CMYK
All values below are calculated directly from . The red channel is 214 (84% of the maximum), green is 184 (72%) and blue is zero.
| Format | Value | CSS |
|---|---|---|
| HEX | ||
| RGB | 214, 184, 0 | rgb(214 184 0) |
| RGB percent | 84%, 72%, 0% | rgb(84% 72% 0%) |
| HSL | 52°, 100%, 42% | hsl(52 100% 42%) |
| HSV | 52°, 100%, 84% | not supported |
| CMYK | 0, 14, 100, 16 | not supported |
CMYK here is the simple mathematical conversion, and it is only a starting point. Real print results depend on the press, the ink and the paper, so treat those four numbers as a brief for your printer rather than a promise.
Why Sites Disagree on the Dark Yellow Hex Code
Search for the name in a few color libraries and you will get several answers. One lists , a burnished amber-gold. Another gives , which leans olive. A third gives , taken from the Printer Working Group list, itself derived from X11. A community name list assigns , a pale tan-orange that most people would not call yellow at all.
You need dark yellow in a brand guide. What is the smartest move?
Dark yellow is not a standard color name, so only a documented code keeps it consistent.
None of these is wrong, because no standards body owns the name. CSS has no darkyellow keyword either; the nearest named colors are DarkGoldenrod () and DarkKhaki (). Developers also meet the term in terminals, where “dark yellow” means the non-bright yellow and often renders as an olive around , though themes vary.
Write the exact hex, RGB and CMYK values into your style guide the day you choose a dark yellow. The name alone will drift between tools.
Dark Yellow vs Gold, Mustard, Goldenrod and Olive
Dark yellow is easy to confuse with its neighbors because they share a hue range and differ mainly in lightness, saturation and a hint of orange or green. A side-by-side check settles most doubts. Here is how the usual suspects compare with :
- Gold (): same hue, brighter and lighter.
- Goldenrod (): hue near 43°, clearly more orange.
- Mustard (): lighter and creamier.
- Citrine (): a touch greener and livelier.
- Old gold (): grayer and more muted.
- Olive (): far darker and plainly green.
If you want something sunnier and more playful than this page’s color, look at golden yellow. If you want the same color softened toward metallic, light gold is the closer step.

Shades and Tints of Dark Yellow
Mixing with black gives shades, and mixing it with white gives tints. The values below were blended in RGB, so they stay on the same hue line:
- 80% tint: , a pale butter for backgrounds
- 60% tint: , a soft highlight yellow
- Base:
- 70% shade: , a deep brass
- 50% shade: , a dark olive-gold for text
Notice how the darker steps drift toward olive. That is normal: yellow has no darkness of its own, so any shade of it looks greenish or brownish to the eye. If a shade looks too green, nudge the hue a few degrees toward orange.
Colors That Pair Well With Dark Yellow
The complementary color is a saturated blue, about , and it is loud. For a more refined version, deep navy such as or indigo blue gives the same opposition with better manners. For calm, put dark yellow against cream, charcoal or oatmeal, where it becomes the single warm accent.
Editorial sites, portfolios and sharp, confident UI with a dark navy base.

Autumn packaging, cafe menus and cozy interiors with sienna and cream.
Organic food brands, garden shops and calm, earthy presentation slides.
Dashboards, warning accents and bold posters that need high contrast.
Analogous neighbors at 100% saturation and 42% lightness are an orange near and a yellow-green near . Both are strong, so use them sparingly or tone them down. An olive or muted green gives a quieter earthy match, and maroon adds a warm, autumn-leaning depth.
Using Dark Yellow in Web and UI Design
On screen, works best as an accent: badges, highlights, progress bars, icons and button fills with dark text. It is too bright for large text blocks and too light for white labels. A small token set keeps it manageable:
:root {
--dark-yellow: #D6B800;
--dark-yellow-ink: #6B5C00;
--ink: #1A1A1A;
}
.badge { background: var(--dark-yellow); color: var(--ink); }
.link { color: var(--dark-yellow-ink); }
Keep two versions in your tokens: the bright fill and a darker “ink” version for any yellow that has to be read as text. Hover states can go slightly darker, such as , rather than switching hue.
Try this: Paste as a button background, then set the label to . Swap it to white and squint at both. The difference tells you more than any chart.
Is Dark Yellow Accessible? Real Contrast Ratios
Contrast depends entirely on what sits next to the color. Calculated with the WCAG formula, has a relative luminance of about 0.485, which gives these ratios:
- On white: about 1.96:1
- With black text: about 10.7:1
- With text: about 8.9:1
- With navy text: about 7.3:1
WCAG AA asks for 4.5:1 for normal text and 3:1 for large text and interface components. So dark text on dark yellow is excellent, while dark yellow on white fails badly. A darker shade rescues it: on white is about 6.7:1, and reaches about 3.9:1, enough for icons and borders but not for body text.
Which text color is safest on a #D6B800 background?
Near-black on #D6B800 reaches about 8.9:1, while white manages only about 2:1.
I once worked on a nonprofit site where the links were a gold-yellow on white and looked lovely on the designer’s monitor. They failed every check. We moved link text to a dark olive-gold at about 6.7:1 and kept the bright yellow for underlines and button fills, which kept the brand feel and fixed readability.
Dark Yellow in Branding, Interiors, Fashion and Art
Branding and packaging
Dark yellow reads as warm and attention-grabbing without the sugary feel of lemon. It suits honey, tools, outdoor gear, craft goods and anything that wants to feel dependable. It pairs well with deep navy for a confident look, or with maroon for a heritage feel.
Interiors and fashion
On walls, a yellow this saturated is strong, so test a large swatch and watch it through a full day. Warm light makes it glow; cool north light can push it toward green. In clothing, it works as a scarf, knit or jacket against denim, charcoal and cream.
Art and illustration
Painters often use yellow ochre and cadmium-style yellows for this range, and illustrators use it for lamplight and autumn leaves. Saffron and gold-yellow tones also have a long place in the traditional palette of Buddhist colors, which is worth reading if your project touches that tradition.
Printing and Mixing Dark Yellow Without Mud
Pure yellow is the easiest process color to print, but dark yellow adds black ink, and that is where trouble starts. The CMYK recipe of 0, 14, 100, 16 is a decent target, yet on an uncoated proof for one client it came back noticeably olive because the paper soaked up the ink. Asking for a small magenta bump, and checking a physical swatch book before the run, solved it.
For paint, avoid black when darkening yellow. A pinprick of violet, its opposite, or a touch of raw umber dulls it cleanly, while black turns it a sickly green. Add the dark color in tiny amounts and mix a test patch on white card, since yellows change a lot as they dry.
Colors close to dark yellow
Dark Yellow Color: questions people ask
What is the hex code for dark yellow?
On PaletteVale, dark yellow is #D6B800, which is rgb(214, 184, 0). The name is not standardized, so other libraries use different codes, from olive-leaning #9B870C to amber-leaning #BA8E23. Choose one and record it.
What two colors make dark yellow?
On screen, you mix red and green light and keep blue at zero, with red a little stronger than green. In paint, start with a warm yellow and add a tiny touch of violet or raw umber. Black tends to push yellow toward olive green.
Is dark yellow the same as mustard?
They overlap, but mustard usually sits lighter and creamier, like #FFDB58, or browner, depending on the maker. Dark yellow here is cleaner and more saturated, with no brown in it.
What colors go with dark yellow?
Deep navy and indigo give the strongest contrast, while charcoal, cream and oatmeal keep it calm. Olive and muted greens make an earthy pairing, and maroon or sienna add a rich autumn feel.
Does dark yellow pass WCAG contrast on white?
No. #D6B800 on white measures about 1.96:1, well below the 4.5:1 needed for normal text. Use a darker shade such as #6B5C00 (about 6.7:1 on white) for text and keep #D6B800 for fills and accents.
Keep exploring
- Honey Blonde Color: Hex Code, RGB and Palettes
- Light Green Color: Hex Code, RGB and Palettes
- Lavender Color: Hex Code, RGB and Palettes
- Mint Green Color: Hex Code, RGB and Palettes
- Cream Color: Hex Code, RGB and Palettes
- Azure Blue Color: Hex Code, RGB and Palettes
- Pink and Purple Color Combination: Palettes and Hex Codes
- Skin Tone Hex Codes: Realistic Skin Color Palettes