RGB to HEX: #96F7E4

Also known as: Tailwind teal-200

Result

rgb(150 247 228) → #96F7E4

Values are shown at full precision, so converting back gives exactly #96f7e4. 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 = 150 = 9×16 + 6 → 96
    G = 247 = 15×16 + 7 → F7
    B = 228 = 14×16 + 4 → E4
  2. 2. pairs → HEX

    96 F7 E4 → #96F7E4

All formats

HEX
#96f7e4
RGB
rgb(150 247 228)
RGB (legacy)
rgb(150, 247, 228)
HSL
hsl(168.25 85.84% 77.84%) → hsl(168 86% 78%)
HWB
hwb(168 59% 3%)
OKLCH
oklch(0.911 0.096 180.1) · oklch(91.1% 0.096 180.1)
OKLab
oklab(0.911 -0.096 0.000)
Lab (D50)
lab(90.86 -33.20 -0.34)
LCH (D50)
lch(90.86 33.20 180.59)
Display P3
color(display-p3 0.6770 0.9590 0.8957)
Linear sRGB
color(srgb-linear 0.3050 0.9301 0.7758)

Gamut: sRGB and Display P3

#96F7E4 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.136 and Display P3 reaches 0.155; this color uses 71% of the sRGB chroma available.

CSS snippets

.element {
  color: #96f7e4;
  color: rgb(150 247 228);
  color: hsl(168 86% 78%);
  color: oklch(0.911 0.096 180.1);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.911 0.096 180.1);
}
/* arbitrary values */
class="text-[#96f7e4] bg-[oklch(0.911_0.096_180.1)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.6770 0.9590 0.8957); }
}

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

  • #AAFFF8 · oklch(0.971 0.096 180.1) · ΔL +0.06
  • #82E3D0 · oklch(0.851 0.096 180.1) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?