The DA PA Checker

Website Management Tools

HTML Color Code Picker

Pick any color and get its HEX, RGB and HSL codes, shades and contrast ratios.

HEX

#0F3B3A

RGB

rgb(15, 59, 58)

HSL

hsl(179, 59%, 15%)

Contrast (WCAG AA needs 4.5:1)

With white text: 12.3:1 ✓ · With black text: 1.71:1 ✗

Shades

Related tools

How to use the HTML Color Code Picker

  1. 1Pick a color or type a HEX code
  2. 2Copy the format you need
  3. 3Choose a shade or check text contrast

About this tool

Use HEX in HTML and CSS, RGB for transparency and HSL to create lighter and darker shades. The contrast check shows whether white or black text on this color meets WCAG AA.

Frequently asked questions

WCAG AA requires at least 4.5:1 for normal text.

Yes, #abc is expanded to #aabbcc.