RGB to HEX: #35530E

Also known as: Tailwind lime-900

Result

rgb(53 83 14) → #35530E

Values are shown at full precision, so converting back gives exactly #35530e. 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 = 53 = 3×16 + 5 → 35
    G = 83 = 5×16 + 3 → 53
    B = 14 = 0×16 + 14 → 0E
  2. 2. pairs → HEX

    35 53 0E → #35530E

All formats

HEX
#35530e
RGB
rgb(53 83 14)
RGB (legacy)
rgb(53, 83, 14)
HSL
hsl(86.09 71.13% 19.02%) → hsl(86 71% 19%)
HWB
hwb(86 5% 67%)
OKLCH
oklch(0.404 0.100 130.8) · oklch(40.4% 0.100 130.8)
OKLab
oklab(0.404 -0.066 0.076)
Lab (D50)
lab(31.85 -20.47 33.65)
LCH (D50)
lch(31.85 39.38 121.32)
Display P3
color(display-p3 0.2338 0.3224 0.1053)
Linear sRGB
color(srgb-linear 0.0356 0.0865 0.0044)

Gamut: sRGB and Display P3

#35530E is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.110 and Display P3 reaches 0.129; this color uses 91% of the sRGB chroma available.

CSS snippets

.element {
  color: #35530e;
  color: rgb(53 83 14);
  color: hsl(86 71% 19%);
  color: oklch(0.404 0.100 130.8);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.404 0.100 130.8);
}
/* arbitrary values */
class="text-[#35530e] bg-[oklch(0.404_0.100_130.8)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.2338 0.3224 0.1053); }
}

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

  • #456422 · oklch(0.464 0.100 130.8) · ΔL +0.06
  • #264200 · oklch(0.344 0.100 130.8) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?