HEX to HSL: #00BBA7

Also known as: Tailwind teal-500

Result

#00BBA7 → hsl(174 100% 37%)

Values are shown at full precision, so converting back gives exactly #00bba7. 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. 1. RGB ÷ 255

    R = 0.0000
    G = 0.7333
    B = 0.6549
  2. 2. max, min, Δ

    max = 0.7333
    min = 0.0000
    Δ = max − min = 0.7333
  3. 3. L

    L = (max + min) / 2 = 0.3667 = 36.67%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 1.0000 = 100.00%
  5. 5. H

    max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.6549 − 0.0000) / 0.7333 + 2) = 173.58°
  6. 6. HSL

    hsl(173.58 100.00% 36.67%)

All formats

HEX
#00bba7
RGB
rgb(0 187 167)
RGB (legacy)
rgb(0, 187, 167)
HSL
hsl(173.58 100.00% 36.67%) → hsl(174 100% 37%)
HWB
hwb(174 0% 27%)
OKLCH
oklch(0.710 0.128 181.6) · oklch(71.0% 0.128 181.6)
OKLab
oklab(0.710 -0.128 -0.004)
Lab (D50)
lab(68.00 -44.65 -1.66)
LCH (D50)
lch(68.00 44.68 182.13)
Display P3
color(display-p3 0.3286 0.7223 0.6560)
Linear sRGB
color(srgb-linear 0.0000 0.4969 0.3864)

Gamut: sRGB and Display P3

#00BBA7 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.128 and Display P3 reaches 0.173; this color uses 100% of the sRGB chroma available.

CSS snippets

.element {
  color: #00bba7;
  color: rgb(0 187 167);
  color: hsl(174 100% 37%);
  color: oklch(0.710 0.128 181.6);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.710 0.128 181.6);
}
/* arbitrary values */
class="text-[#00bba7] bg-[oklch(0.710_0.128_181.6)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.3286 0.7223 0.6560); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #00bba7 calc(l - 0.1) c h); }

Nearby colors

Closest colors in the Tailwind and CSS named palettes (OKLab distance).

Lighter and darker, same hue and chroma

  • #34CFBA · oklch(0.770 0.128 181.6) · ΔL +0.06
  • #00A895 · oklch(0.650 0.128 181.6) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?