Midnight Moss

#040D02

General Information about Midnight Moss (#040D02)

The hexadecimal color code #040D02 represents a very dark shade of green, often referred to as Midnight Moss. It is composed of 1.57% red, 5.1% green, and 0.78% blue. In the RGB color model, it has values of R:4, G:13, and B:2. Converting it to CMYK yields C:69, M:0, Y:85, K:95. This color is extremely low in luminance, making it appear almost black. Colors like this are typically used to convey feelings of darkness, sophistication, or nature. However, its low luminosity poses challenges for accessibility, as it can be difficult to distinguish against other dark backgrounds. When used, caution must be taken to ensure sufficient contrast with foreground elements to meet accessibility standards.

The color #040D02, also known as Midnight Moss, presents significant accessibility challenges. Its extremely low luminance results in very poor contrast against almost any background, including white. This makes it difficult for users with visual impairments, such as those with low vision or color blindness, to distinguish text or graphical elements rendered in this color. Web developers should avoid using #040D02 for primary text or interactive elements. If it must be used, ensure a very high contrast ratio (at least 7:1 for normal text and 4.5:1 for large text) against the background color, adhering to WCAG (Web Content Accessibility Guidelines) standards. Providing alternative high-contrast themes or allowing users to customize colors can greatly improve the accessibility of content using this color.

Shades

Digital Color Formats

RGB
4 13 2
RGB4 13 2
Red
Green
Blue
HSL
109.09deg 73.33% 2.94%
109.0973.332.94HSL
Hue
Saturation
Lightness
HWB
109.09deg 0.78% 94.9%
109.090.7894.9HWB
Hue
Whiteness
Blackness
hex#040D02
rgb4 13 2
hsl109.09deg 73.33% 2.94%
cmyk69.23% 0% 84.62% 94.9%
hwb109.09deg 0.78% 94.9%
xyz-d650 0 0
oklch0.144 0.0332 137.93
oklab0.144 -0.02 0.02
CMYK
69.23% 0% 84.62% 94.9%
69.23084.6294.9CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0 0 0
000XYZ
X
Y
Z
OKLCH
0.144 0.0332 137.93
0.1440.0332137.93LCH
Lightness
Chroma
Hue
OKLAB
0.144 -0.02 0.02
0.144-0.020.02LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons