Oil

#272212

General Information about #272212 (Oil)

The hexadecimal color code #272212 represents a dark shade of brown, often referred to as "Oil" due to its resemblance to the color of crude oil. It is composed of 15.3% red, 13.3% green, and 7.1% blue. In the RGB color space, it has the values (39, 34, 18). This color is often associated with earth tones, providing a sense of stability, warmth, and sophistication. The darkness of the shade makes it suitable for backgrounds where you want the foreground elements to stand out. In terms of color theory, #272212 tends to evoke feelings of calmness and grounding, making it a popular choice for designs that aim to create a relaxed and inviting atmosphere.

The color #272212, also known as Oil, presents significant accessibility challenges, particularly concerning color contrast. When used as text against a white background, or conversely, white text on an #272212 background, the contrast ratio is critically low. This makes it difficult for users with visual impairments, including those with low vision or color blindness, to read the text effectively. Web Content Accessibility Guidelines (WCAG) recommend specific contrast ratios for different text sizes to ensure readability. To improve accessibility, consider using lighter shades for backgrounds or text if #272212 is the primary color. Testing with accessibility tools is crucial to validate contrast ratios and ensure compliance with accessibility standards, thereby providing a more inclusive user experience. Also consider to offer a dark/light mode switch for users to adapt the color to their needs.

Shades

Digital Color Formats

RGB
39 34 18
RGB39 34 18
Red
Green
Blue
HSL
45.71deg 36.84% 11.18%
45.7136.8411.18HSL
Hue
Saturation
Lightness
HWB
45.71deg 7.06% 84.71%
45.717.0684.71HWB
Hue
Whiteness
Blackness
hex#272212
rgb39 34 18
hsl45.71deg 36.84% 11.18%
cmyk0% 12.82% 53.85% 84.71%
hwb45.71deg 7.06% 84.71%
xyz-d650.02 0.02 0.01
oklch0.2528 0.0284 92.71
oklab0.2528 0 0.03
CMYK
0% 12.82% 53.85% 84.71%
012.8253.8584.71CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.02 0.01
0.020.020.01XYZ
X
Y
Z
OKLCH
0.2528 0.0284 92.71
0.25280.028492.71LCH
Lightness
Chroma
Hue
OKLAB
0.2528 0 0.03
0.252800.03LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons