Midnight Moss

#020C08

General Information about #020C08

The hexadecimal color code #020C08 represents a very dark shade of green, often referred to as Midnight Moss. This color is composed of 0.78% red, 4.71% green, and 3.14% blue. In the RGB color model, it's defined as (2, 12, 8). The HSL representation is a hue of 150 degrees, a saturation of 71.4%, and a lightness of 2.7%. Color #020C08 belongs to the dark-green color range. Due to its low luminance, it is best suited for backgrounds when paired with light text to ensure readability. It can also be effectively used as an accent color to provide depth to design.

The color #020C08, also known as Midnight Moss, presents significant accessibility challenges due to its extremely low luminance. With such a dark hue, it's crucial to use it cautiously in user interfaces and graphic designs. When used as a background color, it necessitates very light text to ensure sufficient contrast. A contrast ratio of at least 4.5:1 is recommended for normal-sized text and 3:1 for large text, as specified by WCAG guidelines. Without adequate contrast, users with visual impairments may struggle to read content, leading to a poor user experience. Therefore, consider pairing it with colors like #FFFFFF or other very light shades to meet accessibility standards and make your designs inclusive and user-friendly. Carefully evaluate color combinations using contrast checkers to ensure compliance.

Shades

Digital Color Formats

RGB
2 12 8
RGB2 12 8
Red
Green
Blue
HSL
156deg 71.43% 2.75%
15671.432.75HSL
Hue
Saturation
Lightness
HWB
156deg 0.78% 95.29%
1560.7895.29HWB
Hue
Whiteness
Blackness
hex#020C08
rgb2 12 8
hsl156deg 71.43% 2.75%
cmyk83.33% 0% 33.33% 95.29%
hwb156deg 0.78% 95.29%
xyz-d650 0 0
oklch0.1405 0.0213 170.6
oklab0.1405 -0.02 0
CMYK
83.33% 0% 33.33% 95.29%
83.33033.3395.29CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0 0 0
000XYZ
X
Y
Z
OKLCH
0.1405 0.0213 170.6
0.14050.0213170.6LCH
Lightness
Chroma
Hue
OKLAB
0.1405 -0.02 0
0.1405-0.020LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons