HSL to HEX: #0F766E
Also known as: Tailwind v3 teal-700
Result
hsl(175.34 77.44% 26.08%) → #0F766E
Values are shown at full precision, so converting back gives exactly #0f766e. 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
H = 175.34°, S = 77.44%, L = 26.08%
2. C
C = (1 − |2L − 1|) × S = 0.40393
3. X
X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.37256 (H / 60° = 2.9223, sector 2)
4. m
m = L − C / 2 = 0.05884
5. (R′, G′, B′) + m
(R′, G′, B′) = (0.00000, 0.40393, 0.37256) R = round((0.00000 + 0.05884) × 255) = 15 G = round((0.40393 + 0.05884) × 255) = 118 B = round((0.37256 + 0.05884) × 255) = 110
6. RGB → HEX
#0F766E
All formats
- HEX
- #0f766e
- RGB
- rgb(15 118 110)
- RGB (legacy)
- rgb(15, 118, 110)
- HSL
- hsl(175.34 77.44% 26.08%) → hsl(175 77% 26%)
- HWB
- hwb(175 6% 54%)
- OKLCH
- oklch(0.511 0.086 186.4) · oklch(51.1% 0.086 186.4)
- OKLab
- oklab(0.511 -0.086 -0.010)
- Lab (D50)
- lab(44.29 -29.61 -3.80)
- LCH (D50)
- lch(44.29 29.86 187.31)
- Display P3
- color(display-p3 0.2093 0.4557 0.4304)
- Linear sRGB
- color(srgb-linear 0.0048 0.1812 0.1559)
Gamut: sRGB and Display P3
#0F766E is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.089 and Display P3 reaches 0.121; this color uses 96% of the sRGB chroma available.
CSS snippets
.element {
color: #0f766e;
color: rgb(15 118 110);
color: hsl(175 77% 26%);
color: oklch(0.511 0.086 186.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.511 0.086 186.4);
}
/* arbitrary values */
class="text-[#0f766e] bg-[oklch(0.511_0.086_186.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2093 0.4557 0.4304); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #0f766e calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- teal-700#00786F
- teal#008080
- v3 emerald-700#047857
- emerald-700#007A55
- v3 cyan-700#0E7490
- cyan-700#007595
- darkcyan#008B8B
- teal-800#005F5A
Lighter and darker, same hue and chroma
- #2B8880 · oklch(0.571 0.086 186.4) · ΔL +0.06
- #00645D · oklch(0.451 0.086 186.4) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?