Cocoa Brown

#2A2222

General Information About Cocoa Brown (#2A2222)

The hexadecimal color code #2A2222 represents a dark shade of brown, often referred to as 'Cocoa Brown'. It's composed of 16.47% red, 13.33% green, and 13.33% blue. In the RGB color model, this corresponds to 42 red, 34 green, and 34 blue. The color has a hue angle of 0 degrees, a saturation of 11.7%, and a lightness of 15%. Cocoa Brown is often associated with earthiness, stability, and sophistication. Due to its low luminance value, it's important to consider accessibility when using it in designs, ensuring sufficient contrast with text and other elements. Its muted nature makes it a versatile color for backgrounds, accents, or as a primary color in various design contexts.

The color #2A2222, a dark shade of brown, presents several accessibility considerations for web developers. Due to its low luminance, sufficient contrast with foreground text is crucial. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for standard text and 3:1 for large text. When using #2A2222 as a background color, ensure that the text color provides adequate contrast to meet these requirements. Tools like contrast checkers can help verify compliance. Additionally, avoid relying solely on color to convey information, as users with color vision deficiencies may not be able to distinguish it effectively. Providing alternative cues, such as text labels or icons, is essential for inclusive design. Using this color sparingly and thoughtfully can enhance the user experience for everyone.

Shades

Digital Color Formats

RGB
42 34 34
RGB42 34 34
Red
Green
Blue
HSL
0deg 10.53% 14.9%
010.5314.9HSL
Hue
Saturation
Lightness
HWB
0deg 13.33% 83.53%
013.3383.53HWB
Hue
Whiteness
Blackness
hex#2A2222
rgb42 34 34
hsl0deg 10.53% 14.9%
cmyk0% 19.05% 19.05% 83.53%
hwb0deg 13.33% 83.53%
xyz-d650.02 0.02 0.02
oklch0.2612 0.0122 17.83
oklab0.2612 0.01 0
CMYK
0% 19.05% 19.05% 83.53%
019.0519.0583.53CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.02 0.02
0.020.020.02XYZ
X
Y
Z
OKLCH
0.2612 0.0122 17.83
0.26120.012217.83LCH
Lightness
Chroma
Hue
OKLAB
0.2612 0.01 0
0.26120.010LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons