HEX to RGB: #DEB887

Also known as: CSS burlywood

Result

#DEB887 → rgb(222 184 135)

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

    #DEB887 → DE | B8 | 87
  2. 2. base 16 → base 10

    R = DE₁₆ = 13×16 + 14 = 222
    G = B8₁₆ = 11×16 + 8 = 184
    B = 87₁₆ = 8×16 + 7 = 135
  3. 3. RGB

    rgb(222 184 135)

All formats

HEX
#deb887
RGB
rgb(222 184 135)
RGB (legacy)
rgb(222, 184, 135)
HSL
hsl(33.79 56.86% 70.00%) → hsl(34 57% 70%)
HWB
hwb(34 53% 13%)
OKLCH
oklch(0.805 0.078 73.4) · oklch(80.5% 0.078 73.4)
OKLab
oklab(0.805 0.022 0.075)
Lab (D50)
lab(77.33 9.28 30.32)
LCH (D50)
lch(77.33 31.71 72.98)
Display P3
color(display-p3 0.8466 0.7272 0.5543)
Linear sRGB
color(srgb-linear 0.7305 0.4793 0.2423)

Gamut: sRGB and Display P3

#DEB887 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.168 and Display P3 reaches 0.196; this color uses 46% of the sRGB chroma available.

CSS snippets

.element {
  color: #deb887;
  color: rgb(222 184 135);
  color: hsl(34 57% 70%);
  color: oklch(0.805 0.078 73.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.805 0.078 73.4);
}
/* arbitrary values */
class="text-[#deb887] bg-[oklch(0.805_0.078_73.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.8466 0.7272 0.5543); }
}

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

  • #F2CB9A · oklch(0.865 0.078 73.4) · ΔL +0.06
  • #CAA575 · oklch(0.745 0.078 73.4) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?