HEX to RGB: #497D00
Also known as: Tailwind lime-700
Result
#497D00 → rgb(73 125 0)
Values are shown at full precision, so converting back gives exactly #497d00. 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. HEX → pairs
#497D00 → 49 | 7D | 00
2. base 16 → base 10
R = 49₁₆ = 4×16 + 9 = 73 G = 7D₁₆ = 7×16 + 13 = 125 B = 00₁₆ = 0×16 + 0 = 0
3. RGB
rgb(73 125 0)
All formats
- HEX
- #497d00
- RGB
- rgb(73 125 0)
- RGB (legacy)
- rgb(73, 125, 0)
- HSL
- hsl(84.96 100.00% 24.51%) → hsl(85 100% 25%)
- HWB
- hwb(85 0% 51%)
- OKLCH
- oklch(0.532 0.149 132.4) · oklch(53.2% 0.149 132.4)
- OKLab
- oklab(0.532 -0.100 0.110)
- Lab (D50)
- lab(47.22 -31.44 50.31)
- LCH (D50)
- lch(47.22 59.33 122.00)
- Display P3
- color(display-p3 0.3340 0.4851 0.1333)
- Linear sRGB
- color(srgb-linear 0.0666 0.2051 0.0000)
Gamut: sRGB and Display P3
#497D00 is a hex color, so it sits inside sRGB and therefore inside Display P3. At this lightness and hue, sRGB reaches chroma 0.149 and Display P3 reaches 0.174; this color uses 100% of the sRGB chroma available.
CSS snippets
.element {
color: #497d00;
color: rgb(73 125 0);
color: hsl(85 100% 25%);
color: oklch(0.532 0.149 132.4);
}
/* Tailwind CSS v4 */
@theme {
--color-brand: oklch(0.532 0.149 132.4);
}
/* arbitrary values */
class="text-[#497d00] bg-[oklch(0.532_0.149_132.4)]"
/* wide-gamut screens */
@media (color-gamut: p3) {
.element { color: color(display-p3 0.3340 0.4851 0.1333); }
}
/* relative color syntax: 10% darker */
.element-dark { color: oklch(from #497d00 calc(l - 0.1) c h); }Nearby colors
Closest colors in the Tailwind and CSS named palettes (OKLab distance).
- v3 lime-700#4D7C0F
- green#008000
- green-700#008236
- forestgreen#228B22
- v3 green-700#15803D
- olivedrab#6B8E23
- seagreen#2E8B57
- darkolivegreen#556B2F
Lighter and darker, same hue and chroma
- #5A8F22 · oklch(0.592 0.149 132.4) · ΔL +0.06
- #386B00 · oklch(0.472 0.149 132.4) · ΔL −0.06
Open in the studio
Other converters for this color
Guides: What is OKLCH?