How do you convert a color between hex, rgb, hsl and the rest
You convert a color by reading its red, green and blue amounts once and recalculating every other format from those three numbers, which is exactly what the tool above does the moment you drag, type or paste. Hex, RGB, HSL, HSB, CMYK, OKLCH and LAB are all just different ways of writing the same underlying color, so nothing is lost going between them except in CMYK, which is built for ink on paper and cannot express every color a screen can show.
What is the difference between RGB, HSL and HSB
RGB states how much red, green and blue light to mix, which is exactly what a screen pixel does, so it is the native format of every display. HSL and HSB describe the same color by hue, how pure the color is, and how light or dark it is, which is closer to how a person actually talks about color, as in a deep red or a pale blue. HSB is slightly easier to reason about when picking by eye, which is why it drives the saturation and brightness area at the top of this tool.
Why do designers use OKLCH and LAB now instead of HSL
Designers use OKLCH and LAB because their lightness value matches what the eye perceives as light, while HSL lightness does not. Pure yellow and pure blue can share the exact same HSL lightness number and still look wildly different in actual brightness, which is why a palette built in HSL often has one swatch that looks heavier than the rest. OKLCH fixes that and is now supported directly in CSS, so you can paste an oklch value straight into a stylesheet.
What is a hex color code
A hex color code is red, green and blue written as three pairs of base sixteen digits, so FF is full strength and 00 is none, which is why white is FFFFFF and black is 000000. An eight digit hex code adds a fourth pair for transparency, where FF is fully solid and 00 is fully see through.
What WCAG contrast ratio do I need for accessible text
Normal size text needs a WCAG contrast ratio of at least 4.5 to 1 to pass level AA, and 7 to 1 to pass the stricter level AAA. Large text, meaning 18 point or 14 point bold and above, only needs 3 to 1 for AA and 4.5 to 1 for AAA, because bigger letters stay readable at lower contrast. The checker above runs both your pair's ratio and its pass or fail against all four thresholds at once.
Is APCA official yet
No, not yet. APCA is the contrast model proposed for WCAG 3, and it is a better match for how people actually perceive contrast than the current WCAG 2 math, but WCAG 3 is still a draft and no law or standard requires an APCA score today. Treat the WCAG 2 ratio as the one you must pass and the APCA number as a more honest second opinion.