HEX to RGB: #78350F
Also known as: Tailwind v3 amber-900
Result
#78350F → rgb(120 53 15)
Values are shown at full precision, so converting back gives exactly #78350f. 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
#78350F → 78 | 35 | 0F
2. base 16 → base 10
R = 78₁₆ = 7×16 + 8 = 120 G = 35₁₆ = 3×16 + 5 = 53 B = 0F₁₆ = 0×16 + 15 = 15
3. RGB
rgb(120 53 15)
All formats
- HEX
- #78350f
- RGB
- rgb(120 53 15)
- RGB (legacy)
- rgb(120, 53, 15)
- HSL
- hsl(21.71 77.78% 26.47%) → hsl(22 78% 26%)
- HWB
- hwb(22 6% 53%)
- OKLCH
- oklch(0.414 0.105 45.9) · oklch(41.4% 0.105 45.9)
- OKLab
- oklab(0.414 0.073 0.076)
- Lab (D50)
- lab(31.25 28.29 36.34)
- LCH (D50)
- lch(31.25 46.05 52.10)
- Display P3
- color(display-p3 0.4376 0.2228 0.1007)
- Linear sRGB
- color(srgb-linear 0.1878 0.0356 0.0048)
Gamut: sRGB and Display P3
#78350F is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.116 and Display P3 reaches 0.132; this color uses 90% of the sRGB chroma available.
CSS snippets
.element {
color: #78350f;
color: rgb(120 53 15);
color: hsl(22 78% 26%);
color: oklch(0.414 0.105 45.9);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.414 0.105 45.9);
}
/* arbitrary values */
class="text-[#78350f] bg-[oklch(0.414_0.105_45.9)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4376 0.2228 0.1007); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #78350f calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- amber-900#7B3306
- v3 orange-900#7C2D12
- orange-900#7E2A0C
- yellow-900#733E0A
- v3 yellow-900#713F12
- v3 red-900#7F1D1D
- red-900#82181A
- saddlebrown#8B4513
Lighter and darker, same hue and chroma
- #8B4623 · oklch(0.474 0.105 45.9) · ΔL +0.06
- #652400 · oklch(0.354 0.105 45.9) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?