RGB to HEX: #E17100

Also known as: Tailwind amber-600

Result

rgb(225 113 0) → #E17100

Values are shown at full precision, so converting back gives exactly #e17100. 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 = 225 = 14×16 + 1 → E1
    G = 113 = 7×16 + 1 → 71
    B = 0 = 0×16 + 0 → 00
  2. 2. pairs → HEX

    E1 71 00 → #E17100

All formats

HEX
#e17100
RGB
rgb(225 113 0)
RGB (legacy)
rgb(225, 113, 0)
HSL
hsl(30.13 100.00% 44.12%) → hsl(30 100% 44%)
HWB
hwb(30 0% 12%)
OKLCH
oklch(0.667 0.169 53.4) · oklch(66.7% 0.169 53.4)
OKLab
oklab(0.667 0.101 0.135)
Lab (D50)
lab(60.42 40.98 68.17)
LCH (D50)
lch(60.42 79.54 58.99)
Display P3
color(display-p3 0.8259 0.4669 0.1712)
Linear sRGB
color(srgb-linear 0.7529 0.1651 0.0000)

Gamut: sRGB and Display P3

#E17100 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.169 and Display P3 reaches 0.192; this color uses 100% of the sRGB chroma available.

CSS snippets

.element {
  color: #e17100;
  color: rgb(225 113 0);
  color: hsl(30 100% 44%);
  color: oklch(0.667 0.169 53.4);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.667 0.169 53.4);
}
/* arbitrary values */
class="text-[#e17100] bg-[oklch(0.667_0.169_53.4)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.8259 0.4669 0.1712); }
}

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

  • #F68429 · oklch(0.727 0.169 53.4) · ΔL +0.06
  • #CC5E00 · oklch(0.607 0.169 53.4) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?