RGB to HEX: #DEB887
Also known as: CSS burlywood
Result
rgb(222 184 135) → #DEB887
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. base 10 → base 16
R = 222 = 13×16 + 14 → DE G = 184 = 11×16 + 8 → B8 B = 135 = 8×16 + 7 → 87
2. pairs → HEX
DE B8 87 → #DEB887
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).
- tan#D2B48C
- v3 orange-300#FDBA74
- orange-300#FFB86A
- sandybrown#F4A460
- darkkhaki#BDB76B
- lightsalmon#FFA07A
- silver#C0C0C0
- darksalmon#E9967A
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
Guides: What is OKLCH?