RGB to HEX: #FB923C
Also known as: Tailwind v3 orange-400
Result
rgb(251 146 60) → #FB923C
Values are shown at full precision, so converting back gives exactly #fb923c. 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. base 10 → base 16
R = 251 = 15×16 + 11 → FB G = 146 = 9×16 + 2 → 92 B = 60 = 3×16 + 12 → 3C
2. pairs → HEX
FB 92 3C → #FB923C
All formats
- HEX
- #fb923c
- RGB
- rgb(251 146 60)
- RGB (legacy)
- rgb(251, 146, 60)
- HSL
- hsl(27.02 95.98% 60.98%) → hsl(27 96% 61%)
- HWB
- hwb(27 24% 2%)
- OKLCH
- oklch(0.758 0.159 55.9) · oklch(75.8% 0.159 55.9)
- OKLab
- oklab(0.758 0.089 0.132)
- Lab (D50)
- lab(71.11 36.11 60.82)
- LCH (D50)
- lch(71.11 70.74 59.30)
- Display P3
- color(display-p3 0.9282 0.5926 0.3103)
- Linear sRGB
- color(srgb-linear 0.9647 0.2874 0.0452)
Gamut: sRGB and Display P3
#FB923C is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.169 and Display P3 reaches 0.212; this color uses 94% of the sRGB chroma available.
CSS snippets
.element {
color: #fb923c;
color: rgb(251 146 60);
color: hsl(27 96% 61%);
color: oklch(0.758 0.159 55.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.758 0.159 55.9);
}
/* arbitrary values */
class="text-[#fb923c] bg-[oklch(0.758_0.159_55.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.9282 0.5926 0.3103); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #fb923c calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- darkorange#FF8C00
- orange-400#FF8904
- amber-500#FE9A00
- v3 amber-500#F59E0B
- sandybrown#F4A460
- coral#FF7F50
- orange#FFA500
- lightsalmon#FFA07A
Lighter and darker, same hue and chroma
- #FFA552 · oklch(0.818 0.159 55.9) · ΔL +0.06
- #E67F23 · oklch(0.698 0.159 55.9) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?