Cod Gray

#020A0C

General Information about #020A0C

The hexadecimal color code #020A0C represents a very dark shade of gray, often referred to as Cod Gray. It's composed of very small amounts of red, green, and blue light, specifically 2/255 red, 10/255 green, and 12/255 blue. In the RGB color model, it equates to approximately 0.8% red, 3.9% green, and 4.7% blue. The small values indicate that this color reflects very little light, making it appear almost black to the human eye. Colors like #020A0C are often used to create depth and contrast when used as backgrounds and can provide a sense of sophistication in design. However, it's crucial to ensure sufficient contrast with foreground elements, such as text, to maintain readability and accessibility.

The color #020A0C, a very dark shade of gray often referred to as Cod Gray, poses significant accessibility challenges, especially in web design. Due to its extremely low luminance, text or interactive elements rendered in this color require very light foreground colors to ensure sufficient contrast. According to WCAG (Web Content Accessibility Guidelines), a contrast ratio of at least 4.5:1 is needed for normal text and 3:1 for large text. Using #020A0C can easily fall short of these recommendations, making content unreadable for users with visual impairments. Designers must carefully select contrasting colors and rigorously test their combinations to meet accessibility standards and provide an inclusive user experience. Tools that measure color contrast ratios are invaluable in this process. It's crucial to prioritize readability and inclusivity, opting for lighter alternatives if necessary.

Shades

Digital Color Formats

RGB
2 10 12
RGB2 10 12
Red
Green
Blue
HSL
192 71.43% 2.75%
19271.432.75HSL
Hue
Saturation
Lightness
HWB
192 0.78% 95.29%
1920.7895.29HWB
Hue
Whiteness
Blackness
hex#020A0C
rgb2 10 12
hsl192 71.43% 2.75%
cmyk83.33% 16.67% 0% 95.29%
hwb192 0.78% 95.29%
xyz-d650 0 0
oklch0.1352 0.0173 210.19
oklab0.1352 -0.01 -0.01
CMYK
83.33% 16.67% 0% 95.29%
83.3316.67095.29CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0 0 0
000XYZ
X
Y
Z
OKLCH
0.1352 0.0173 210.19
0.13520.0173210.19LCH
Lightness
Chroma
Hue
OKLAB
0.1352 -0.01 -0.01
0.1352-0.01-0.01LAB
Lightness
Green–Red
Blue–Yellow

Alternative colors

Applications

Complementary color

Buttons