Black Olive to Palm Leaf Gradient
CSS
background: linear-gradient(90deg, #3b3c36 0%, #36482f 100%);
From Black Olive (#3B3C36) to Palm Leaf (#36482F). The two hues are 33° 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 | |
|---|---|---|---|---|---|
| Black Olive | #3B3C36 | 59, 60, 54 | 70°, 5%, 22% | 2, 0, 10, 76 | |
| 25% (near Black Olive) | #3A3F34 | 58, 63, 52 | 87°, 10%, 23% | 8, 0, 17, 75 | |
| 50% (near Black Olive) | #394233 | 57, 66, 51 | 96°, 13%, 23% | 14, 0, 23, 74 | |
| 75% (near Palm Leaf) | #374531 | 55, 69, 49 | 102°, 17%, 23% | 20, 0, 29, 73 | |
| Palm Leaf | #36482F | 54, 72, 47 | 103°, 21%, 23% | 25, 0, 35, 72 |
Halfway along, the gradient is #394233, closest to the named color Black Olive. 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.13:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #3b3c36, #36482f) - Diagonal:
linear-gradient(135deg, #3b3c36, #36482f) - Radial, from the center out:
radial-gradient(circle, #3b3c36, #36482f) - Tailwind CSS:
bg-gradient-to-r from-[#3b3c36] to-[#36482f]
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 Black Olive to Palm Leaf gradient?
It starts at #3B3C36 (Black Olive) and ends at #36482F (Palm Leaf), with #394233 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #3b3c36, #36482f) runs from Palm Leaf on the left to Black Olive on the right.