Onion

#312B04

General Information about #312B04

The hexadecimal color code #312B04 represents a very dark shade of yellow-brown, often described as 'Onion' due to its resemblance to the color of certain onion varieties. It's a muted and earthy tone, categorized within the brown color family. In the RGB color model, it consists of 19.22% red, 16.86% green, and 1.57% blue. In the CMYK color model, it's composed of 0% cyan, 12% magenta, 92% yellow, and 81% black. This color is typically used to evoke feelings of warmth, earthiness, and maturity. Its low saturation and luminance make it suitable for backgrounds or accents when a subtle, understated effect is desired. However, it should be used carefully to ensure sufficient contrast with other elements for readability and accessibility.

The color #312B04, also known as Onion, presents significant accessibility challenges due to its very low luminance. Its dark nature results in poor contrast against light backgrounds, making it difficult for users with visual impairments to discern text or graphical elements. Web developers should avoid using this color for text or important interactive elements on white or light backgrounds. When this color is unavoidable, ensure a very high contrast ratio (at least 7:1 for normal text and 4.5:1 for large text) is achieved by using a very light color for the foreground. Tools like contrast checkers are essential for verifying compliance with WCAG guidelines and ensuring a positive user experience for everyone, including those with low vision or color blindness. The color might be more accessible when used in large shapes, icons or as a decorative element.

Shades

Digital Color Formats

RGB
49 43 4
RGB49 43 4
Red
Green
Blue
HSL
52deg 84.91% 10.39%
5284.9110.39HSL
Hue
Saturation
Lightness
HWB
52deg 1.57% 80.78%
521.5780.78HWB
Hue
Whiteness
Blackness
hex#312B04
rgb49 43 4
hsl52deg 84.91% 10.39%
cmyk0% 12.24% 91.84% 80.78%
hwb52deg 1.57% 80.78%
xyz-d650.02 0.02 0
oklch0.2872 0.0555 100.31
oklab0.2872 -0.01 0.05
CMYK
0% 12.24% 91.84% 80.78%
012.2491.8480.78CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.02 0
0.020.020XYZ
X
Y
Z
OKLCH
0.2872 0.0555 100.31
0.28720.0555100.31LCH
Lightness
Chroma
Hue
OKLAB
0.2872 -0.01 0.05
0.2872-0.010.05LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons