Medium Roast to Dark Olive Gradient
CSS
background: linear-gradient(90deg, #3c2005 0%, #373e02 100%);
From Medium Roast (#3C2005) to Dark Olive (#373E02). The two hues are 38° apart on the color wheel, close enough that the blend stays clean without a muddy middle.
Colors along the gradient
| Name | HEX | RGB | HSL | CMYK | |
|---|---|---|---|---|---|
| Medium Roast | #3C2005 | 60, 32, 5 | 29°, 85%, 13% | 0, 47, 92, 76 | |
| 25% (near Secret Passage) | #3B2804 | 59, 40, 4 | 39°, 87%, 12% | 0, 32, 93, 77 | |
| 50% (near Secret Passage) | #3A2F04 | 58, 47, 4 | 48°, 87%, 12% | 0, 19, 93, 77 | |
| 75% (near Wasabi Nori) | #383703 | 56, 55, 3 | 59°, 90%, 12% | 0, 2, 95, 78 | |
| Dark Olive | #373E02 | 55, 62, 2 | 67°, 94%, 13% | 11, 0, 97, 76 |
Halfway along, the gradient is #3A2F04, closest to the named color Secret Passage. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
White text reads best on both ends, so one text color works across the whole gradient. The two end colors have a contrast ratio of 1.32:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #3c2005, #373e02) - Diagonal:
linear-gradient(135deg, #3c2005, #373e02) - Radial, from the center out:
radial-gradient(circle, #3c2005, #373e02) - Tailwind CSS:
bg-gradient-to-r from-[#3c2005] to-[#373e02]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Questions
What are the HEX codes of the Medium Roast to Dark Olive gradient?
It starts at #3C2005 (Medium Roast) and ends at #373E02 (Dark Olive), with #3A2F04 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #3c2005, #373e02) runs from Dark Olive on the left to Medium Roast on the right.