Peat Brown to Reptile Revenge Gradient
CSS
background: linear-gradient(90deg, #5a3d29 0%, #5e582b 100%);
From Peat Brown (#5A3D29) to Reptile Revenge (#5E582B). The two hues are 28° 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 | |
|---|---|---|---|---|---|
| Peat Brown | #5A3D29 | 90, 61, 41 | 24°, 37%, 26% | 0, 32, 54, 65 | |
| 25% (near Peat Brown) | #5B442A | 91, 68, 42 | 32°, 37%, 26% | 0, 25, 54, 64 | |
| 50% (near Jungle Beat) | #5C4B2A | 92, 75, 42 | 40°, 37%, 26% | 0, 18, 54, 64 | |
| 75% (near Reptile Revenge) | #5D512B | 93, 81, 43 | 46°, 37%, 27% | 0, 13, 54, 64 | |
| Reptile Revenge | #5E582B | 94, 88, 43 | 53°, 37%, 27% | 0, 6, 54, 63 |
Halfway along, the gradient is #5C4B2A, closest to the named color Jungle Beat. 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.36:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #5a3d29, #5e582b) - Diagonal:
linear-gradient(135deg, #5a3d29, #5e582b) - Radial, from the center out:
radial-gradient(circle, #5a3d29, #5e582b) - Tailwind CSS:
bg-gradient-to-r from-[#5a3d29] to-[#5e582b]
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 Peat Brown to Reptile Revenge gradient?
It starts at #5A3D29 (Peat Brown) and ends at #5E582B (Reptile Revenge), with #5C4B2A in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #5a3d29, #5e582b) runs from Reptile Revenge on the left to Peat Brown on the right.