Log Cabin

#222021

General Information About #222021

The hexadecimal color code #222021, also known as "Log Cabin", is a dark, muted shade that falls within the brown color family. It is composed of 13.33% red, 12.55% green, and 12.94% blue. In the RGB color model, these values translate to R:34, G:32, B:33. The CMYK representation of this color is C:0, M:0.06, Y:0.03, K:0.87, indicating that it is primarily composed of black with subtle amounts of magenta and yellow. This color evokes feelings of earthiness, warmth, and understated elegance. The hex code #222021 is often used in design contexts where a subdued, natural, or sophisticated aesthetic is desired. It’s a great color to use for backgrounds, or for text where readability is not paramount. Log Cabin is a beautiful alternative to a black or gray.

The color #222021, also known as Log Cabin, presents some accessibility challenges, particularly for users with visual impairments. Its low luminance value of approximately 4.2 cd/m² means it has a poor contrast ratio against lighter background colors. According to WCAG guidelines, a contrast ratio of at least 4.5:1 is recommended for normal-sized text and 3:1 for large text to ensure readability. Therefore, using #222021 for text or interactive elements on a white or very light background would likely fail accessibility standards. To improve accessibility, consider pairing #222021 with significantly lighter colors that provide sufficient contrast. Tools like contrast checkers can help determine if the contrast ratio meets accessibility requirements. For instance, using a light yellow or beige color as the background color could provide sufficient contrast. Furthermore, avoid using #222021 as the sole means of conveying information, such as in charts or graphs, as users with color blindness may not be able to distinguish it from other similar dark colors.

Shades

Digital Color Formats

RGB
34 32 33
RGB34 32 33
Red
Green
Blue
HSL
330deg 3.03% 12.94%
3303.0312.94HSL
Hue
Saturation
Lightness
HWB
330deg 12.55% 86.67%
33012.5586.67HWB
Hue
Whiteness
Blackness
hex#222021
rgb34 32 33
hsl330deg 3.03% 12.94%
cmyk0% 5.88% 2.94% 86.67%
hwb330deg 12.55% 86.67%
xyz-d650.01 0.01 0.02
oklch0.2461 0.0035 345.08
oklab0.2461 0 0
CMYK
0% 5.88% 2.94% 86.67%
05.882.9486.67CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.02
0.010.010.02XYZ
X
Y
Z
OKLCH
0.2461 0.0035 345.08
0.24610.0035345.08LCH
Lightness
Chroma
Hue
OKLAB
0.2461 0 0
0.246100LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons