RGB to HEX: #B9F8CF
Also known as: Tailwind green-200
Result
rgb(185 248 207) → #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. base 10 → base 16
R = 185 = 11×16 + 9 → B9 G = 248 = 15×16 + 8 → F8 B = 207 = 12×16 + 15 → CF
2. pairs → HEX
B9 F8 CF → #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).
- v3 green-200#BBF7D0
- v3 emerald-200#A7F3D0
- emerald-200#A4F4CF
- v3 teal-200#99F6E4
- emerald-100#D0FAE5
- teal-200#96F7E4
- v3 emerald-100#D1FAE5
- teal-100#CBFBF1
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
Guides: What is OKLCH?