RGB to HEX: #A4F4CF

Also known as: Tailwind emerald-200

Result

rgb(164 244 207) → #A4F4CF

Values are shown at full precision, so converting back gives exactly #a4f4cf. 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. base 10 → base 16

    R = 164 = 10×16 + 4 → A4
    G = 244 = 15×16 + 4 → F4
    B = 207 = 12×16 + 15 → CF
  2. 2. pairs → HEX

    A4 F4 CF → #A4F4CF

All formats

HEX
#a4f4cf
RGB
rgb(164 244 207)
RGB (legacy)
rgb(164, 244, 207)
HSL
hsl(152.25 78.43% 80.00%) → hsl(152 78% 80%)
HWB
hwb(152 64% 4%)
OKLCH
oklch(0.905 0.094 163.9) · oklch(90.5% 0.094 163.9)
OKLab
oklab(0.905 -0.090 0.026)
Lab (D50)
lab(90.27 -31.32 9.74)
LCH (D50)
lch(90.27 32.80 162.72)
Display P3
color(display-p3 0.7125 0.9486 0.8210)
Linear sRGB
color(srgb-linear 0.3712 0.9047 0.6240)

Gamut: sRGB and Display P3

#A4F4CF is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.151 and Display P3 reaches 0.170; this color uses 62% of the sRGB chroma available.

CSS snippets

.element {
  color: #a4f4cf;
  color: rgb(164 244 207);
  color: hsl(152 78% 80%);
  color: oklch(0.905 0.094 163.9);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.905 0.094 163.9);
}
/* arbitrary values */
class="text-[#a4f4cf] bg-[oklch(0.905_0.094_163.9)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.7125 0.9486 0.8210); }
}

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

  • #B8FFE3 · oklch(0.965 0.094 163.9) · ΔL +0.06
  • #91E0BC · oklch(0.845 0.094 163.9) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?