Tonkatsu to Lime Fizz Gradient
CSS
background: linear-gradient(90deg, #edac36 0%, #cfe838 100%);
From Tonkatsu (#EDAC36) to Lime Fizz (#CFE838). The two hues are 30° 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 | |
|---|---|---|---|---|---|
| Tonkatsu | #EDAC36 | 237, 172, 54 | 39°, 84%, 57% | 0, 27, 77, 7 | |
| 25% (near Nicotine Gold) | #E6BB37 | 230, 187, 55 | 45°, 78%, 56% | 0, 19, 76, 10 | |
| 50% (near Finger Banana) | #DECA37 | 222, 202, 55 | 53°, 72%, 54% | 0, 9, 75, 13 | |
| 75% (near Bitter Lemon) | #D7D938 | 215, 217, 56 | 61°, 68%, 54% | 1, 0, 74, 15 | |
| Lime Fizz | #CFE838 | 207, 232, 56 | 69°, 79%, 56% | 11, 0, 76, 9 |
Halfway along, the gradient is #DECA37, closest to the named color Finger Banana. The stops are mixed in RGB, the way browsers draw a linear gradient by default.
Text on this gradient
Black 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.45:1, so the change is gentle.
Other ways to use it
- Top to bottom:
linear-gradient(180deg, #edac36, #cfe838) - Diagonal:
linear-gradient(135deg, #edac36, #cfe838) - Radial, from the center out:
radial-gradient(circle, #edac36, #cfe838) - Tailwind CSS:
bg-gradient-to-r from-[#edac36] to-[#cfe838]
Gradients like this work well for page headers, buttons, cards and slide backgrounds. Keep body text on a solid color for the best readability.
Related gradients
Questions
What are the HEX codes of the Tonkatsu to Lime Fizz gradient?
It starts at #EDAC36 (Tonkatsu) and ends at #CFE838 (Lime Fizz), with #DECA37 in the middle.
How do I reverse the gradient?
Swap the two colors or change the angle from 90deg to 270deg: linear-gradient(270deg, #edac36, #cfe838) runs from Lime Fizz on the left to Tonkatsu on the right.