Cod Gray

#020C0C

General Information

The hex color code #020C0C represents a very dark shade of gray, often referred to as "Cod Gray". In the RGB color model, it consists of 2/255 red, 12/255 green, and 12/255 blue. This results in a color that is nearly black, characterized by minimal brightness and saturation. Colors like #020C0C are often used to create a sense of seriousness, sophistication, or mystery. Due to its low luminance, it is generally not recommended for use as a primary text color or for critical user interface elements, as it can present accessibility challenges. Instead, it is more appropriate for background accents or artistic elements where high contrast is not essential. Understanding the composition and limitations of colors like #020C0C is essential for making informed design decisions.

The color #020C0C, also known as Cod Gray, presents significant accessibility challenges due to its extremely low luminance. Its contrast ratio against white is very poor, making text or interactive elements rendered in this color difficult or impossible for many users to perceive, especially those with visual impairments. To ensure accessibility, it is crucial to avoid using #020C0C for foreground elements against light backgrounds without implementing substantial contrast enhancements. For example, pairing this color with a very light shade of yellow or orange might provide sufficient contrast. However, careful testing with accessibility evaluation tools is essential. It is generally recommended to use this color sparingly, if at all, in user interface design, opting instead for lighter shades of gray or other colors that meet WCAG (Web Content Accessibility Guidelines) contrast requirements. Utilizing tools like contrast checkers can help determine whether the color combination passes accessibility standards and offers the best experience for users with visual impairments.

Shades

Digital Color Formats

RGB
2 12 12
RGB2 12 12
Red
Green
Blue
HSL
180deg 71.43% 2.75%
18071.432.75HSL
Hue
Saturation
Lightness
HWB
180deg 0.78% 95.29%
1800.7895.29HWB
Hue
Whiteness
Blackness
hex#020C0C
rgb2 12 12
hsl180deg 71.43% 2.75%
cmyk83.33% 0% 0% 95.29%
hwb180deg 0.78% 95.29%
xyz-d650 0 0
oklch0.1424 0.0189 195.29
oklab0.1424 -0.02 0
CMYK
83.33% 0% 0% 95.29%
83.330095.29CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0 0 0
000XYZ
X
Y
Z
OKLCH
0.1424 0.0189 195.29
0.14240.0189195.29LCH
Lightness
Chroma
Hue
OKLAB
0.1424 -0.02 0
0.1424-0.020LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons