HEX to RGB: #0F766E
Also known as: Tailwind v3 teal-700
Result
#0F766E → rgb(15 118 110)
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. HEX → pairs
#0F766E → 0F | 76 | 6E
2. base 16 → base 10
R = 0F₁₆ = 0×16 + 15 = 15 G = 76₁₆ = 7×16 + 6 = 118 B = 6E₁₆ = 6×16 + 14 = 110
3. RGB
rgb(15 118 110)
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?