Petroleum Color — #21211D: Codes, Palettes & Contrast
Petroleum (#21211D) color codes in RGB, HSL, and OKLCH, the most readable text color on it, WCAG contrast ratios against white and black, and matching color palettes.
Petroleum is a named gray color, ready to use anywhere you need it.
Petroleum#21211D
Petroleum color codes
| HEX | #21211D |
|---|---|
| RGB | rgb(33, 33, 29) |
| HSL | hsl(60, 6%, 12%) |
| OKLCH | oklch(0.246 0.007 106.9) |
Browse more gray colors.
Readable text on Petroleum
White text (#FFFFFF) has the higher contrast against this background: 16.15:1.
| Text color | Ratio | Normal text AA | Normal text AAA |
|---|---|---|---|
| Black | 1.3:1 | Fail | Fail |
| White | 16.15:1 | Pass | Pass |
Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.