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
RGBrgb(33, 33, 29)
HSLhsl(60, 6%, 12%)
OKLCHoklch(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 colorRatioNormal text AANormal text AAA
Black1.3:1FailFail
White16.15:1PassPass

Normal text requires at least 4.5:1 for WCAG AA and 7:1 for AAA. Check another combination.

Related named colors

Build a palette · Generate a color scale