#0C170C

#0c170c ≈ Black

  • black
  • Lightness: very low
  • Saturation: muted
  • Neutral

#0c170c is a color from the black family, with very low lightness and muted saturation. In the RGB model it is made of 4.71% red, 9.02% green and 4.71% blue; printed in CMYK it uses 47.83% cyan, 0% magenta, 47.83% yellow and 90.98% black. Its hue angle is 120°, with 31.43% saturation and 6.86% lightness in HSL. It is a neutral color, often associated with sophistication, power and elegance. Designers typically use it for body text and typography and luxury branding. White text on this color reaches a contrast ratio of 18.36:1 (WCAG AAA). The closest named color is Black (#000000), ΔE 9.44.

Description generated from the measured properties of this color.

Conversions of #0c170c into other color spaces
HEX
RGB
RGB percent
CMY
CMYK
HSL
HSV / HSB
Web safe#000000
CIE-LAB
XYZ
xyY
CIE-LCH
CIE-LUV
Hunter-Lab
OKLab
Binary
Decimal
Relative luminance0.0072

Readable text 18.36:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.14:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #141414 ≈ 0.003% of males
Achromatomaly #111511 ≈ 0.001% of males
Protanopia #17150b ≈ 1.01% of males
Deuteranopia #16140d ≈ 1.27% of males
Tritanopia #0b1614 ≈ 0.0001% of males
Protanomaly #14160c ≈ 1.08% of males
Deuteranomaly #12150c ≈ 4.63% of males
Tritanomaly #0b1711 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-0c170c {
  color: #0c170c;
}
Background
.bg-0c170c {
  background-color: #0c170c;
  color: #ffffff;
}
Border
.border-0c170c {
  border: 2px solid #0c170c;
}
CSS variables
:root {
  --color-primary: #0c170c;
  --color-primary-rgb: 12 23 12;
  --color-primary-hsl: 120 31% 7%;
}
Gradient
.gradient-0c170c {
  background: linear-gradient(135deg, #0c170c, #0c1711);
}
Colored shadow
.shadow-0c170c {
  box-shadow: 0 8px 24px rgb(12 23 12 / 0.35);
}

Black
#0c170c  rgb(12, 23, 12)  hsl(120, 31%, 7%)  Black
#170c17  rgb(23, 12, 23)  hsl(300, 31%, 7%)  Licorice
#0c0c17  rgb(12, 12, 23)  hsl(240, 31%, 7%)  Rich Black
#170c0c  rgb(23, 12, 12)  hsl(0, 31%, 7%)  Licorice