Mandarin Tonic color palette
Mandarin Tonic is a 5-color palette drawing on oranges, yellows and neutrals. In OKLCH its lightness runs from 53% (#B34400, medium-dark) to 99% (#FFFBE6, very light), and its most saturated color, #F7931E, is vivid. 4 of its 4 chromatic colors sit on the warm side of the hue wheel. 2 of its 10 color pairs reach the WCAG AA ratio of 4.5:1 for body text. It is tagged food, summer, orange, yellow and light.
- Sinopia #B34400
- Gamboge #F7931E
- Saffron #D7B33B
- Cornsilk #FFF3B0
- Cornsilk #FFFBE6
Color codes
| Color | HEX | RGB | HSL | OKLCH |
|---|---|---|---|---|
| Sinopia | #B34400 | rgb(179, 68, 0) | hsl(23, 100%, 35%) | oklch(53.2% 0.158 43) |
| Gamboge | #F7931E | rgb(247, 147, 30) | hsl(32, 93%, 54%) | oklch(75.2% 0.165 62.2) |
| Saffron | #D7B33B | rgb(215, 179, 59) | hsl(46, 66%, 54%) | oklch(77.8% 0.139 91.7) |
| Cornsilk | #FFF3B0 | rgb(255, 243, 176) | hsl(51, 100%, 85%) | oklch(95.8% 0.086 99.2) |
| Cornsilk | #FFFBE6 | rgb(255, 251, 230) | hsl(50, 100%, 95%) | oklch(98.6% 0.028 98.1) |
Accessibility
The best text and background pairs in Mandarin Tonic, by WCAG 2 contrast ratio, with the APCA lightness contrast (Lc) of the text on its background.
| Pair | WCAG 2 | Level | APCA Lc |
|---|---|---|---|
| #FFFBE6 on #B34400 | 5.39:1 | AA | Lc -79.4 |
| #FFF3B0 on #B34400 | 4.99:1 | AA | Lc -73.7 |
| #D7B33B on #B34400 | 2.78:1 | Fail | Lc -37.8 |
Color vision
2 pairs of colors come within ΔE 0.06 of each other under at least one simulation.
Protanopia
Deuteranopia
Tritanopia
Achromatopsia
Use it in code
Install these colors as Tailwind CSS v4 theme colors with shadcn: npx shadcn@latest add https://getcolors.so/r/palette/b34400-f7931e-d7b33b-fff3b0-fffbe6.json.
Make it your own
Edit the colors, build a full light and dark color system from them, or see them on real UI.