Huebook

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

NameHEXRGBHSLCMYK
Medium Roast#3C200560, 32, 529°, 85%, 13%0, 47, 92, 76
25% (near Secret Passage)#3B280459, 40, 439°, 87%, 12%0, 32, 93, 77
50% (near Secret Passage)#3A2F0458, 47, 448°, 87%, 12%0, 19, 93, 77
75% (near Wasabi Nori)#38370356, 55, 359°, 90%, 12%0, 2, 95, 78
Dark Olive#373E0255, 62, 267°, 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

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.