HEX to RGB: #FFB86A
Also known as: Tailwind orange-300
Result
#FFB86A → rgb(255 184 106)
Values are shown at full precision, so converting back gives exactly #ffb86a. The rounded form is what you normally paste into CSS.
Step-by-step math
Every number below is computed from the input, nothing is looked up.
1. HEX → pairs
#FFB86A → FF | B8 | 6A
2. base 16 → base 10
R = FF₁₆ = 15×16 + 15 = 255 G = B8₁₆ = 11×16 + 8 = 184 B = 6A₁₆ = 6×16 + 10 = 106
3. RGB
rgb(255 184 106)
All formats
- HEX
- #ffb86a
- RGB
- rgb(255 184 106)
- RGB (legacy)
- rgb(255, 184, 106)
- HSL
- hsl(31.41 100.00% 70.78%) → hsl(31 100% 71%)
- HWB
- hwb(31 42% 0%)
- OKLCH
- oklch(0.834 0.126 67.2) · oklch(83.4% 0.126 67.2)
- OKLab
- oklab(0.834 0.049 0.116)
- Lab (D50)
- lab(80.45 20.70 49.72)
- LCH (D50)
- lch(80.45 53.86 67.40)
- Display P3
- color(display-p3 0.9582 0.7331 0.4649)
- Linear sRGB
- color(srgb-linear 1.0000 0.4793 0.1441)
Gamut: sRGB and Display P3
#FFB86A is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.126 and Display P3 reaches 0.158; this color uses 100% of the sRGB chroma available.
CSS snippets
.element {
color: #ffb86a;
color: rgb(255 184 106);
color: hsl(31 100% 71%);
color: oklch(0.834 0.126 67.2);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.834 0.126 67.2);
}
/* arbitrary values */
class="text-[#ffb86a] bg-[oklch(0.834_0.126_67.2)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9582 0.7331 0.4649); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #ffb86a calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 orange-300#FDBA74
- sandybrown#F4A460
- burlywood#DEB887
- amber-400#FFB900
- v3 amber-400#FBBF24
- orange#FFA500
- yellow-500#F0B100
- lightsalmon#FFA07A
Lighter and darker, same hue and chroma
- #FFCB7D · oklch(0.894 0.126 67.2) · ΔL +0.06
- #EBA556 · oklch(0.774 0.126 67.2) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?