RGB to HEX: #99F6E4

Also known as: Tailwind v3 teal-200

Result

rgb(153 246 228) → #99F6E4

Values are shown at full precision, so converting back gives exactly #99f6e4. 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 = 153 = 9×16 + 9 → 99
    G = 246 = 15×16 + 6 → F6
    B = 228 = 14×16 + 4 → E4
  2. 2. pairs → HEX

    99 F6 E4 → #99F6E4

All formats

HEX
#99f6e4
RGB
rgb(153 246 228)
RGB (legacy)
rgb(153, 246, 228)
HSL
hsl(168.39 83.78% 78.24%) → hsl(168 84% 78%)
HWB
hwb(168 60% 4%)
OKLCH
oklch(0.910 0.093 180.4) · oklch(91.0% 0.093 180.4)
OKLab
oklab(0.910 -0.093 -0.001)
Lab (D50)
lab(90.71 -31.97 -0.52)
LCH (D50)
lch(90.71 31.97 180.94)
Display P3
color(display-p3 0.6840 0.9554 0.8955)
Linear sRGB
color(srgb-linear 0.3185 0.9216 0.7758)

Gamut: sRGB and Display P3

#99F6E4 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.137 and Display P3 reaches 0.157; this color uses 67% of the sRGB chroma available.

CSS snippets

.element {
  color: #99f6e4;
  color: rgb(153 246 228);
  color: hsl(168 84% 78%);
  color: oklch(0.910 0.093 180.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.910 0.093 180.4);
}
/* arbitrary values */
class="text-[#99f6e4] bg-[oklch(0.910_0.093_180.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.6840 0.9554 0.8955); }
}

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

  • #ADFFF8 · oklch(0.970 0.093 180.4) · ΔL +0.06
  • #85E2D0 · oklch(0.850 0.093 180.4) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?