#F59E0B
Tailwind amber-500
#F59E0B is a orange colour. In RGB it is 245 red, 158 green and 11 blue, which converts to a hue of 38 degrees, 92% saturation and 50% lightness. It is Tailwind amber-500 in that design system's palette.
Color values
| HEX | #F59E0B |
|---|---|
| RGB | rgb(245, 158, 11) |
| HSL | hsl(38, 92%, 50%) |
| HSV | hsv(38, 96%, 96%) |
| CMYK | cmyk(0%, 36%, 96%, 4%) |
Contrast and accessibility
Against white the contrast ratio is 2.15:1, and against black it is 9.78:1. WCAG asks for at least 4.5:1 for normal text and 3:1 for large text.
| Background | Ratio | Normal text | Large text |
|---|---|---|---|
| White | 2.15:1 | Fail | Fail |
| Black | 9.78:1 | AAA | AAA |
Tints and shades
Lighter tints move #F59E0B toward white, and darker shades move it toward black.
Tints
Shades
Color harmonies
Complementary
Analogous
Triadic
Split complementary
Code
| CSS | color: #F59E0B; |
|---|---|
| CSS rgb() | color: rgb(245 158 11); |
| Tailwind | bg-[#f59e0b] |
| SwiftUI | Color(red: 0.961, green: 0.620, blue: 0.043) |
| Android | Color.parseColor("#F59E0B") |
Closest named color
The nearest CSS colour keyword to #F59E0B is orange (#FFA500).