Swamp

#04201F

General Information about #04201F

The hex color code #04201F, also known as 'Swamp,' is a very dark shade of green. It is composed of 1.57% red, 12.55% green, and 12.16% blue. In the RGB color model, it has values of R:4, G:32, B:31. In the CMYK color model, its values are C:0.88, M:0.00, Y:0.03, K:0.87. The color's primary attribute is its deep, muted tone, which can evoke feelings of nature, earthiness, and tranquility. Due to its darkness, it is often used sparingly in design, usually as an accent or background color. The color is associated with seriousness and a sense of mystery.

The hex color #04201F, often referred to as 'Swamp', presents significant accessibility challenges, particularly for users with visual impairments. Its extremely low luminance value necessitates careful consideration of contrast ratios. When used as a foreground color, it requires a very light background color to meet WCAG (Web Content Accessibility Guidelines) standards for readability. A contrast ratio of at least 4.5:1 is recommended for normal text and 3:1 for large text. Failure to meet these contrast requirements can render text illegible for many users. It's also important to avoid using this color for essential UI elements or links without clear visual cues, as it may be difficult for users to distinguish them from the background. Thorough testing with accessibility tools is crucial to ensure compliance and a positive user experience.

Shades

Digital Color Formats

RGB
4 32 31
RGB4 32 31
Red
Green
Blue
HSL
177.86deg 77.78% 7.06%
177.8677.787.06HSL
Hue
Saturation
Lightness
HWB
177.86deg 1.57% 87.45%
177.861.5787.45HWB
Hue
Whiteness
Blackness
hex#04201F
rgb4 32 31
hsl177.86deg 77.78% 7.06%
cmyk87.5% 0% 3.12% 87.45%
hwb177.86deg 1.57% 87.45%
xyz-d650.01 0.01 0.01
oklch0.2222 0.0337 191.74
oklab0.2222 -0.03 -0.01
CMYK
87.5% 0% 3.12% 87.45%
87.503.1287.45CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.01 0.01 0.01
0.010.010.01XYZ
X
Y
Z
OKLCH
0.2222 0.0337 191.74
0.22220.0337191.74LCH
Lightness
Chroma
Hue
OKLAB
0.2222 -0.03 -0.01
0.2222-0.03-0.01LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons