Cocoa Brown

#281F24

General Information about Cocoa Brown

The hexadecimal color code #281F24 represents a dark shade of brown, often referred to as cocoa brown. It is composed of 15.7% red, 12.2% green, and 14.1% blue. In the RGB color model, this translates to 40 red, 31 green, and 36 blue. The color's relative darkness is indicated by its low RGB values. In the HSL color space, #281F24 has a hue of 330 degrees, a saturation of 11.1%, and a lightness of 14.1%. Cocoa brown, like other earth tones, often evokes feelings of warmth, comfort, and stability. Its muted nature makes it a versatile color for various design applications, although careful consideration should be given to its contrast with other colors to ensure accessibility.

The color #281F24, a dark shade of cocoa brown, presents some accessibility challenges, particularly regarding color contrast. When used as a background color, it requires very light text to ensure readability, ideally achieving a contrast ratio of at least 4.5:1 as recommended by WCAG guidelines for Level AA compliance. Smaller text might need even higher contrast. Using it for foreground elements like text or icons means that the background needs to be significantly lighter. In situations where achieving sufficient contrast is difficult, consider using a lighter tint of the cocoa brown or pairing it with a contrasting accent color to highlight important information and improve the user experience for individuals with visual impairments. Ensuring proper color contrast is essential for making web content accessible to all users, including those with low vision or color blindness. To address these accessibility considerations is crucial for inclusivity.

Shades

Digital Color Formats

RGB
40 31 36
RGB40 31 36
Red
Green
Blue
HSL
326.67 12.68% 13.92%
326.6712.6813.92HSL
Hue
Saturation
Lightness
HWB
326.67 12.16% 84.31%
326.6712.1684.31HWB
Hue
Whiteness
Blackness
hex#281F24
rgb40 31 36
hsl326.67 12.68% 13.92%
cmyk0% 22.5% 10% 84.31%
hwb326.67 12.16% 84.31%
xyz-d650.02 0.02 0.02
oklch0.2519 0.0165 343.77
oklab0.2519 0.02 0
CMYK
0% 22.5% 10% 84.31%
022.51084.31CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.02 0.02
0.020.020.02XYZ
X
Y
Z
OKLCH
0.2519 0.0165 343.77
0.25190.0165343.77LCH
Lightness
Chroma
Hue
OKLAB
0.2519 0.02 0
0.25190.020LAB
Lightness
Green–Red
Blue–Yellow

Alternative colors

Applications

Complementary color

Buttons