RGB to HEX: #00BBA7

Also known as: Tailwind teal-500

Result

rgb(0 187 167) → #00BBA7

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. base 10 → base 16

    R = 0 = 0×16 + 0 → 00
    G = 187 = 11×16 + 11 → BB
    B = 167 = 10×16 + 7 → A7
  2. 2. pairs → HEX

    00 BB A7 → #00BBA7

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?