HEX to RGB: #0D9488
Also known as: Tailwind v3 teal-600
Result
#0D9488 → rgb(13 148 136)
Values are shown at full precision, so converting back gives exactly #0d9488. 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
#0D9488 → 0D | 94 | 88
2. base 16 → base 10
R = 0D₁₆ = 0×16 + 13 = 13 G = 94₁₆ = 9×16 + 4 = 148 B = 88₁₆ = 8×16 + 8 = 136
3. RGB
rgb(13 148 136)
All formats
- HEX
- #0d9488
- RGB
- rgb(13 148 136)
- RGB (legacy)
- rgb(13, 148, 136)
- HSL
- hsl(174.67 83.85% 31.57%) → hsl(175 84% 32%)
- HWB
- hwb(175 5% 42%)
- OKLCH
- oklch(0.600 0.104 184.7) · oklch(60.0% 0.104 184.7)
- OKLab
- oklab(0.600 -0.103 -0.009)
- Lab (D50)
- lab(54.88 -35.98 -3.45)
- LCH (D50)
- lch(54.88 36.15 185.48)
- Display P3
- color(display-p3 0.2622 0.5716 0.5328)
- Linear sRGB
- color(srgb-linear 0.0040 0.2961 0.2462)
Gamut: sRGB and Display P3
#0D9488 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.106 and Display P3 reaches 0.143; this color uses 98% of the sRGB chroma available.
CSS snippets
.element {
color: #0d9488;
color: rgb(13 148 136);
color: hsl(175 84% 32%);
color: oklch(0.600 0.104 184.7);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.600 0.104 184.7);
}
/* arbitrary values */
class="text-[#0d9488] bg-[oklch(0.600_0.104_184.7)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.2622 0.5716 0.5328); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #0d9488 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- teal-600#009689
- darkcyan#008B8B
- v3 emerald-600#059669
- emerald-600#009966
- teal#008080
- seagreen#2E8B57
- v3 cyan-600#0891B2
- cadetblue#5F9EA0
Lighter and darker, same hue and chroma
- #30A79A · oklch(0.660 0.104 184.7) · ΔL +0.06
- #008276 · oklch(0.540 0.104 184.7) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?