Midnight Moss

#040804

General Information about Midnight Moss

The hex color code #040804, also known as Midnight Moss, is a very dark shade of green. It's composed of 1.57% red, 3.14% green, and 1.57% blue. In the RGB color model, this translates to R:4, G:8, B:4. The CMYK representation is C:50, M:0, Y:50, K:97. The hue angle is 120 degrees, saturation is 50%, and lightness is 2.7%. This color is perceived as a deep, muted tone, evoking feelings of nature, tranquility, and sophistication. Due to its extremely low brightness, it is close to black. The color is not well suited to be used on websites with a white background, as the contrast is very small.

The hex color #040804, also known as Midnight Moss, presents significant accessibility challenges due to its extremely low luminance. Its contrast ratio against white (#FFFFFF) is very low, making text or interactive elements rendered in this color difficult to perceive for users with normal vision. It is essentially unreadable for individuals with low vision or color vision deficiencies. Web Content Accessibility Guidelines (WCAG) require a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text against its background to meet AA compliance. Midnight Moss falls far short of these requirements. To improve accessibility, it is crucial to pair this color with much lighter colors. Avoid using #040804 for text, icons, or other crucial interface elements against dark backgrounds. Employing techniques like color contrast analyzers and testing with assistive technologies is essential to ensure readability and usability for all users.

Shades

Digital Color Formats

RGB
4 8 4
RGB4 8 4
Red
Green
Blue
HSL
120 33.33% 2.35%
12033.332.35HSL
Hue
Saturation
Lightness
HWB
120 1.57% 96.86%
1201.5796.86HWB
Hue
Whiteness
Blackness
hex#040804
rgb4 8 4
hsl120 33.33% 2.35%
cmyk50% 0% 50% 96.86%
hwb120 1.57% 96.86%
xyz-d650 0 0
oklch0.1261 0.0151 144.66
oklab0.1261 -0.01 0.01
CMYK
50% 0% 50% 96.86%
5005096.86CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0 0 0
000XYZ
X
Y
Z
OKLCH
0.1261 0.0151 144.66
0.12610.0151144.66LCH
Lightness
Chroma
Hue
OKLAB
0.1261 -0.01 0.01
0.1261-0.010.01LAB
Lightness
Green–Red
Blue–Yellow

Alternative colors

Applications

Complementary color

Buttons