Tools
Color converter
Convert any color between HEX, RGB, HSL, and OKLCH — with the nearest named color and one-tap copy.
#9ac43c
Nearest named coloryellowgreen
Formats
hex
#9ac43crgb
rgb(154, 196, 60)hsl
hsl(78.53, 53.54%, 50.2%)oklch
oklch(76.4% 0.167 125.2)css
oklab(0.7643563961936144 -0.09608998849369438 0.13643315522536098)FAQ
Frequently asked questions
- What's the difference between HEX, RGB, HSL, and OKLCH?
- HEX and RGB describe a color by red, green, and blue channels; HSL by hue, saturation, and lightness; and OKLCH by a perceptually uniform space that makes adjusting lightness and chroma closer to what the eye sees.
- Why use OKLCH instead of HSL?
- OKLCH is perceptually uniform — changing its lightness looks even to the eye across every hue, unlike HSL where the same value can look brighter or darker per hue.
- Do browsers support OKLCH?
- Yes — the oklch() function is supported in all modern browsers (Chrome, Safari, Firefox) since 2023.
- How do I find the nearest named color for a HEX value?
- Paste any color and the converter shows the closest named CSS color automatically, along with the color distance between them.