HEX to RGB: #EEE8AA

Also known as: CSS palegoldenrod

Result

#EEE8AA → rgb(238 232 170)

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

    #EEE8AA → EE | E8 | AA
  2. 2. base 16 → base 10

    R = EE₁₆ = 14×16 + 14 = 238
    G = E8₁₆ = 14×16 + 8 = 232
    B = AA₁₆ = 10×16 + 10 = 170
  3. 3. RGB

    rgb(238 232 170)

All formats

HEX
#eee8aa
RGB
rgb(238 232 170)
RGB (legacy)
rgb(238, 232, 170)
HSL
hsl(54.71 66.67% 80.00%) → hsl(55 67% 80%)
HWB
hwb(55 67% 7%)
OKLCH
oklch(0.921 0.080 103.2) · oklch(92.1% 0.080 103.2)
OKLab
oklab(0.921 -0.018 0.078)
Lab (D50)
lab(91.37 -4.82 31.04)
LCH (D50)
lch(91.37 31.42 98.82)
Display P3
color(display-p3 0.9292 0.9106 0.6937)
Linear sRGB
color(srgb-linear 0.8550 0.8070 0.4020)

Gamut: sRGB and Display P3

#EEE8AA is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.194 and Display P3 reaches 0.225; this color uses 41% of the sRGB chroma available.

CSS snippets

.element {
  color: #eee8aa;
  color: rgb(238 232 170);
  color: hsl(55 67% 80%);
  color: oklch(0.921 0.080 103.2);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.921 0.080 103.2);
}
/* arbitrary values */
class="text-[#eee8aa] bg-[oklch(0.921_0.080_103.2)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.9292 0.9106 0.6937); }
}

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

  • #FFFCBD · oklch(0.981 0.080 103.2) · ΔL +0.06
  • #DAD497 · oklch(0.861 0.080 103.2) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?