DAILYGAMES

HSL color picker

Pick a color with hue, saturation and lightness, or paste a code you already have. Copy it as HEX, RGB or HSL, and check whether white or black text is readable on it.

HEX, rgb() or hsl().

136°
82%
72%
  • HEX#7CF29C
  • RGBrgb(124, 242, 156)
  • HSLhsl(136, 82%, 72%)

Contrast (WCAG 2)

  • White text

    1.4:1

    Fails

  • Black text

    15.04:1

    Passes AAA

What HSL means

HSL describes the same colors as HEX and RGB, just in a way that's easier to adjust by hand: to make a color lighter, raise the lightness; to make it more muted, lower the saturation.

HEX, RGB and HSL

All three work in CSS, so you can paste any of them straight into a stylesheet.

Contrast check

The contrast ratios use the WCAG 2 formula. For normal text, 4.5:1 passes level AA and 7:1 passes AAA. Large text (about 24px, or 19px bold) needs 3:1 for AA. This is a quick guide, not a full accessibility review.

Test your eye for color

Shade is our free daily color game: match a target color using these same three sliders, judged by eye. A new color every day, the same for everyone.

Everything runs in your browser. Nothing you enter is saved or sent anywhere.