HSL to HEX: #B9F8CF

Also known as: Tailwind green-200

Result

hsl(140.95 81.82% 84.90%) → #B9F8CF

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. input

    H = 140.95°, S = 81.82%, L = 84.90%
  2. 2. C

    C = (1 − |2L − 1|) × S = 0.24710
  3. 3. X

    X = C × (1 − |(H / 60°) mod 2 − 1|) = 0.08628   (H / 60° = 2.3492, sector 2)
  4. 4. m

    m = L − C / 2 = 0.72545
  5. 5. (R′, G′, B′) + m

    (R′, G′, B′) = (0.00000, 0.24710, 0.08628)
    R = round((0.00000 + 0.72545) × 255) = 185
    G = round((0.24710 + 0.72545) × 255) = 248
    B = round((0.08628 + 0.72545) × 255) = 207
  6. 6. RGB → HEX

    #B9F8CF

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?