HEX to RGB: #134E4A
Also known as: Tailwind v3 teal-900
Result
#134E4A → rgb(19 78 74)
Values are shown at full precision, so converting back gives exactly #134e4a. 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
#134E4A → 13 | 4E | 4A
2. base 16 → base 10
R = 13₁₆ = 1×16 + 3 = 19 G = 4E₁₆ = 4×16 + 14 = 78 B = 4A₁₆ = 4×16 + 10 = 74
3. RGB
rgb(19 78 74)
All formats
- HEX
- #134e4a
- RGB
- rgb(19 78 74)
- RGB (legacy)
- rgb(19, 78, 74)
- HSL
- hsl(175.93 60.82% 19.02%) → hsl(176 61% 19%)
- HWB
- hwb(176 7% 69%)
- OKLCH
- oklch(0.386 0.059 188.4) · oklch(38.6% 0.059 188.4)
- OKLab
- oklab(0.386 -0.058 -0.009)
- Lab (D50)
- lab(29.47 -20.09 -3.38)
- LCH (D50)
- lch(29.47 20.37 189.54)
- Display P3
- color(display-p3 0.1468 0.3013 0.2891)
- Linear sRGB
- color(srgb-linear 0.0065 0.0762 0.0685)
Gamut: sRGB and Display P3
#134E4A is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.067 and Display P3 reaches 0.090; this color uses 88% of the sRGB chroma available.
CSS snippets
.element {
color: #134e4a;
color: rgb(19 78 74);
color: hsl(176 61% 19%);
color: oklch(0.386 0.059 188.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.386 0.059 188.4);
}
/* arbitrary values */
class="text-[#134e4a] bg-[oklch(0.386_0.059_188.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.1468 0.3013 0.2891); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #134e4a calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- teal-900#0B4F4A
- v3 emerald-900#064E3B
- darkslategray#2F4F4F
- emerald-900#004F3B
- v3 cyan-900#164E63
- cyan-900#104E64
- mist-700#394447
- v3 teal-800#115E59
Lighter and darker, same hue and chroma
- #275F5A · oklch(0.446 0.059 188.4) · ΔL +0.06
- #003E3A · oklch(0.326 0.059 188.4) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?