HEX to RGB: #B9F8CF

Also known as: Tailwind green-200

Result

#B9F8CF → rgb(185 248 207)

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

    #B9F8CF → B9 | F8 | CF
  2. 2. base 16 → base 10

    R = B9₁₆ = 11×16 + 9 = 185
    G = F8₁₆ = 15×16 + 8 = 248
    B = CF₁₆ = 12×16 + 15 = 207
  3. 3. RGB

    rgb(185 248 207)

All formats

HEX
#b9f8cf
RGB
rgb(185 248 207)
RGB (legacy)
rgb(185, 248, 207)
HSL
hsl(140.95 81.82% 84.90%) → hsl(141 82% 85%)
HWB
hwb(141 73% 3%)
OKLCH
oklch(0.926 0.084 155.9) · oklch(92.6% 0.084 155.9)
OKLab
oklab(0.926 -0.077 0.035)
Lab (D50)
lab(92.52 -26.58 13.09)
LCH (D50)
lch(92.52 29.63 153.79)
Display P3
color(display-p3 0.7771 0.9656 0.8235)
Linear sRGB
color(srgb-linear 0.4851 0.9387 0.6240)

Gamut: sRGB and Display P3

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

CSS snippets

.element {
  color: #b9f8cf;
  color: rgb(185 248 207);
  color: hsl(141 82% 85%);
  color: oklch(0.926 0.084 155.9);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.926 0.084 155.9);
}
/* arbitrary values */
class="text-[#b9f8cf] bg-[oklch(0.926_0.084_155.9)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.7771 0.9656 0.8235); }
}

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

  • #CDFFE3 · oklch(0.986 0.084 155.9) · ΔL +0.06
  • #A6E4BC · oklch(0.866 0.084 155.9) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?