HEX to RGB: #CCFBF1

Also known as: Tailwind v3 teal-100

Result

#CCFBF1 → rgb(204 251 241)

Values are shown at full precision, so converting back gives exactly #ccfbf1. 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. HEX → pairs

    #CCFBF1 → CC | FB | F1
  2. 2. base 16 → base 10

    R = CC₁₆ = 12×16 + 12 = 204
    G = FB₁₆ = 15×16 + 11 = 251
    B = F1₁₆ = 15×16 + 1 = 241
  3. 3. RGB

    rgb(204 251 241)

All formats

HEX
#ccfbf1
RGB
rgb(204 251 241)
RGB (legacy)
rgb(204, 251, 241)
HSL
hsl(167.23 85.45% 89.22%) → hsl(167 85% 89%)
HWB
hwb(167 80% 2%)
OKLCH
oklch(0.953 0.050 180.8) · oklch(95.3% 0.050 180.8)
OKLab
oklab(0.953 -0.050 -0.001)
Lab (D50)
lab(95.13 -17.01 -0.42)
LCH (D50)
lch(95.13 17.01 181.40)
Display P3
color(display-p3 0.8367 0.9789 0.9458)
Linear sRGB
color(srgb-linear 0.6038 0.9647 0.8796)

Gamut: sRGB and Display P3

#CCFBF1 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.068 and Display P3 reaches 0.077; this color uses 74% of the sRGB chroma available.

CSS snippets

.element {
  color: #ccfbf1;
  color: rgb(204 251 241);
  color: hsl(167 85% 89%);
  color: oklch(0.953 0.050 180.8);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.953 0.050 180.8);
}
/* arbitrary values */
class="text-[#ccfbf1] bg-[oklch(0.953_0.050_180.8)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.8367 0.9789 0.9458); }
}

/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #ccfbf1 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

  • #DCFFFF · oklch(1.000 0.050 180.8) · ΔL +0.06
  • #B9E7DD · oklch(0.893 0.050 180.8) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?