HEX to HSL: #B9F8CF

Also known as: Tailwind green-200

Result

#B9F8CF → hsl(141 82% 85%)

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. RGB ÷ 255

    R = 0.7255
    G = 0.9725
    B = 0.8118
  2. 2. max, min, Δ

    max = 0.9725
    min = 0.7255
    Δ = max − min = 0.2471
  3. 3. L

    L = (max + min) / 2 = 0.8490 = 84.90%
  4. 4. S

    S = Δ / (1 − |2L − 1|) = 0.8182 = 81.82%
  5. 5. H

    max is G → H = 60° × ((B − R) / Δ + 2) = 60° × ((0.8118 − 0.7255) / 0.2471 + 2) = 140.95°
  6. 6. HSL

    hsl(140.95 81.82% 84.90%)

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?