HEX to RGB: #F7FEE7

Also known as: Tailwind lime-50, Tailwind v3 lime-50

Result

#F7FEE7 → rgb(247 254 231)

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

    #F7FEE7 → F7 | FE | E7
  2. 2. base 16 → base 10

    R = F7₁₆ = 15×16 + 7 = 247
    G = FE₁₆ = 15×16 + 14 = 254
    B = E7₁₆ = 14×16 + 7 = 231
  3. 3. RGB

    rgb(247 254 231)

All formats

HEX
#f7fee7
RGB
rgb(247 254 231)
RGB (legacy)
rgb(247, 254, 231)
HSL
hsl(78.26 92.00% 95.10%) → hsl(78 92% 95%)
HWB
hwb(78 91% 0%)
OKLCH
oklch(0.986 0.031 120.8) · oklch(98.6% 0.031 120.8)
OKLab
oklab(0.986 -0.016 0.027)
Lab (D50)
lab(98.67 -5.32 10.21)
LCH (D50)
lch(98.67 11.51 117.54)
Display P3
color(display-p3 0.9736 0.9952 0.9139)
Linear sRGB
color(srgb-linear 0.9301 0.9911 0.7991)

Gamut: sRGB and Display P3

#F7FEE7 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.040 and Display P3 reaches 0.042; this color uses 78% of the sRGB chroma available.

CSS snippets

.element {
  color: #f7fee7;
  color: rgb(247 254 231);
  color: hsl(78 92% 95%);
  color: oklch(0.986 0.031 120.8);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.986 0.031 120.8);
}
/* arbitrary values */
class="text-[#f7fee7] bg-[oklch(0.986_0.031_120.8)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9736 0.9952 0.9139); }
}

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

  • #FCFFEC · oklch(1.000 0.031 120.8) · ΔL +0.06
  • #E3EAD3 · oklch(0.926 0.031 120.8) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?