HEX to HSL: #713F12
Also known as: Tailwind v3 yellow-900
Result
#713F12 → hsl(28 73% 26%)
Values are shown at full precision, so converting back gives exactly #713f12. 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. RGB ÷ 255
R = 0.4431 G = 0.2471 B = 0.0706
2. max, min, Δ
max = 0.4431 min = 0.0706 Δ = max − min = 0.3725
3. L
L = (max + min) / 2 = 0.2569 = 25.69%
4. S
S = Δ / (1 − |2L − 1|) = 0.7252 = 72.52%
5. H
max is R → H = 60° × (((G − B) / Δ) mod 6) = 60° × (((0.2471 − 0.0706) / 0.3725) mod 6) = 28.42°
6. HSL
hsl(28.42 72.52% 25.69%)
All formats
- HEX
- #713f12
- RGB
- rgb(113 63 18)
- RGB (legacy)
- rgb(113, 63, 18)
- HSL
- hsl(28.42 72.52% 25.69%) → hsl(28 73% 26%)
- HWB
- hwb(28 7% 56%)
- OKLCH
- oklch(0.421 0.090 57.7) · oklch(42.1% 0.090 57.7)
- OKLab
- oklab(0.421 0.048 0.076)
- Lab (D50)
- lab(32.42 19.77 35.43)
- LCH (D50)
- lch(32.42 40.57 60.85)
- Display P3
- color(display-p3 0.4164 0.2566 0.1117)
- Linear sRGB
- color(srgb-linear 0.1651 0.0497 0.0060)
Gamut: sRGB and Display P3
#713F12 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.101 and Display P3 reaches 0.115; this color uses 89% of the sRGB chroma available.
CSS snippets
.element {
color: #713f12;
color: rgb(113 63 18);
color: hsl(28 73% 26%);
color: oklch(0.421 0.090 57.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.421 0.090 57.7);
}
/* arbitrary values */
class="text-[#713f12] bg-[oklch(0.421_0.090_57.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.4164 0.2566 0.1117); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #713f12 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- yellow-900#733E0A
- v3 amber-900#78350F
- amber-900#7B3306
- v3 orange-900#7C2D12
- orange-900#7E2A0C
- saddlebrown#8B4513
- v3 yellow-800#854D0E
- yellow-800#894B00
Lighter and darker, same hue and chroma
- #835025 · oklch(0.481 0.090 57.7) · ΔL +0.06
- #5F2F00 · oklch(0.361 0.090 57.7) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?