OKLCH to HEX: #473C39
Also known as: Tailwind taupe-700
Result
oklch(0.36670 0.01631 35.710) → #473C39
Values are shown at full precision, so converting back gives exactly #473c39. 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. input
oklch(0.36670 0.01631 35.710)
2. OKLCH → Oklab
a = C·cos H = 0.01324 b = C·sin H = 0.00952
3. Oklab → LMS′
l′ = L + 0.3963·a + 0.2158·b = 0.374003 m′ = L − 0.1056·a − 0.0639·b = 0.364694 s′ = L − 0.0895·a − 1.2915·b = 0.353220
4. cube
l = 0.374003³ = 0.052315 m = 0.364694³ = 0.048505 s = 0.353220³ = 0.044069
5. LMS → linear sRGB
R = 4.0767·l − 3.3077·m + 0.2310·s = 0.063013 G = −1.2684·l + 2.6098·m − 0.3413·s = 0.045186 B = −0.0042·l − 0.7034·m + 1.7076·s = 0.040915
6. linear → sRGB, × 255
R = 0.27844 × 255 = 71.00 → 71 G = 0.23529 × 255 = 60.00 → 60 B = 0.22353 × 255 = 57.00 → 57
7. RGB → HEX
#473C39
All formats
- HEX
- #473c39
- RGB
- rgb(71 60 57)
- RGB (legacy)
- rgb(71, 60, 57)
- HSL
- hsl(12.86 10.94% 25.10%) → hsl(13 11% 25%)
- HWB
- hwb(13 22% 72%)
- OKLCH
- oklch(0.367 0.016 35.7) · oklch(36.7% 0.016 35.7)
- OKLab
- oklab(0.367 0.013 0.010)
- Lab (D50)
- lab(26.42 4.52 3.73)
- LCH (D50)
- lch(26.42 5.86 39.49)
- Display P3
- color(display-p3 0.2713 0.2369 0.2255)
- Linear sRGB
- color(srgb-linear 0.0630 0.0452 0.0409)
Gamut: sRGB and Display P3
#473C39 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.142; this color uses 13% of the sRGB chroma available.
CSS snippets
.element {
color: #473c39;
color: rgb(71 60 57);
color: hsl(13 11% 25%);
color: oklch(0.367 0.016 35.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.367 0.016 35.7);
}
/* arbitrary values */
class="text-[#473c39] bg-[oklch(0.367_0.016_35.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2713 0.2369 0.2255); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #473c39 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 stone-700#44403C
- stone-700#44403B
- neutral-700#404040
- zinc-700#3F3F46
- mauve-700#463947
- mist-700#394447
- olive-700#474739
- v3 gray-700#374151
Lighter and darker, same hue and chroma
- #574C49 · oklch(0.427 0.016 35.7) · ΔL +0.06
- #372D2A · oklch(0.307 0.016 35.7) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?