Petroleum Color – #21211d: Codes and Complete Breakdown
By
Published on
The Petroleum color hex code is #21211d, and it is composed of 13% red, 13% green and 11% blue.
Petroleum is a dark, dull, desaturated, and warm color at 12% saturation. It has a contrast ratio of 16.15:1 against a white background, which passes WCAG AA (Web Content Accessibility Guidelines, Level AA) compliance.
For better visibility, it is recommended to use the Petroleum color (#21211d) against light backgrounds.

Petroleum Color Shades
Complementary colors
Triadic colors
Tints or lighter colors
Darker colors
Analogous colors
Monochromatic colors
#21211d
Petroleum Color Codes and Information
Here’s a complete breakdown of the color Petroleum, including its HEX, RGB, HSL, and CMYK values, as well as other information about the color.
| Data Type | Values/Details |
|---|---|
| Hex | #21211d |
| RGB | rgb(33,33,29) |
| HSL | hsl(60,6.5%,12.2%) |
| CMYK | 0, 0, 12, 87 |
| HSV | 60, 12, 13 |
| RGB % | 13, 13, 11 |
| XYZ | 1.4, 1.5, 1.4 |
| LAB | 12.6, -0.7, 2.5 |
| Color Category | Dark |
| Color Family | Black |
| Saturation | 12% |
| Temperature | Warm |
| Contrast Ratio Againt White (#ffffff) | 16.15 (passes WCAG AA) |
| Contrast Ratio Againt Black (#000000) | 1.3 (fails WCAG AA) |









