RGB to HEX: #192E03

Also known as: Tailwind lime-950

Result

rgb(25 46 3) → #192E03

Values are shown at full precision, so converting back gives exactly #192e03. 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 = 25 = 1×16 + 9 → 19
    G = 46 = 2×16 + 14 → 2E
    B = 3 = 0×16 + 3 → 03
  2. 2. pairs → HEX

    19 2E 03 → #192E03

All formats

HEX
#192e03
RGB
rgb(25 46 3)
RGB (legacy)
rgb(25, 46, 3)
HSL
hsl(89.30 87.76% 9.61%) → hsl(89 88% 10%)
HWB
hwb(89 1% 82%)
OKLCH
oklch(0.273 0.072 132.3) · oklch(27.3% 0.072 132.3)
OKLab
oklab(0.273 -0.048 0.053)
Lab (D50)
lab(16.41 -15.17 21.80)
LCH (D50)
lch(16.41 26.56 124.84)
Display P3
color(display-p3 0.1169 0.1783 0.0384)
Linear sRGB
color(srgb-linear 0.0097 0.0273 0.0009)

Gamut: sRGB and Display P3

#192E03 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.076 and Display P3 reaches 0.089; this color uses 94% of the sRGB chroma available.

CSS snippets

.element {
  color: #192e03;
  color: rgb(25 46 3);
  color: hsl(89 88% 10%);
  color: oklch(0.273 0.072 132.3);
}

/* Tailwind CSS v4 */
@theme {
  --color-brand: oklch(0.273 0.072 132.3);
}
/* arbitrary values */
class="text-[#192e03] bg-[oklch(0.273_0.072_132.3)]"

/* wide-gamut screens */
@media (color-gamut: p3) {
  .element { color: color(display-p3 0.1169 0.1783 0.0384); }
}

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

  • #283E13 · oklch(0.333 0.072 132.3) · ΔL +0.06
  • #0B1F00 · oklch(0.213 0.072 132.3) · ΔL −0.06

Open in the studio

Other converters for this color

All converters →

Guides: What is OKLCH?