#2C3828

#2c3828 ≈ Rifle Green

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

#2c3828 is a color from the gray family, with very low lightness and muted saturation. In the RGB model it is made of 17.25% red, 21.96% green and 15.69% blue; printed in CMYK it uses 21.43% cyan, 0% magenta, 28.57% yellow and 78.04% black. Its hue angle is 105°, with 16.67% saturation and 18.82% lightness in HSL. It is a neutral color, often associated with neutrality, balance and professionalism. Designers typically use it for body text and typography and corporate identities. White text on this color reaches a contrast ratio of 12.33:1 (WCAG AAA). The closest named color is Rifle Green (#444c38), ΔE 7.15.

Description generated from the measured properties of this color.

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

Readable text 12.33:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓
Readable text 1.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕

Achromatopsia #353535 ≈ 0.003% of males
Achromatomaly #313630 ≈ 0.001% of males
Protanopia #393527 ≈ 1.01% of males
Deuteranopia #373429 ≈ 1.27% of males
Tritanopia #2c3734 ≈ 0.0001% of males
Protanomaly #343627 ≈ 1.08% of males
Deuteranomaly #333628 ≈ 4.63% of males
Tritanomaly #2c372f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c3828 {
  color: #2c3828;
}
Background
.bg-2c3828 {
  background-color: #2c3828;
  color: #ffffff;
}
Border
.border-2c3828 {
  border: 2px solid #2c3828;
}
CSS variables
:root {
  --color-primary: #2c3828;
  --color-primary-rgb: 44 56 40;
  --color-primary-hsl: 105 17% 19%;
}
Gradient
.gradient-2c3828 {
  background: linear-gradient(135deg, #2c3828, #28382c);
}
Colored shadow
.shadow-2c3828 {
  box-shadow: 0 8px 24px rgb(44 56 40 / 0.35);
}

Rifle Green
#2c3828  rgb(44, 56, 40)  hsl(105, 17%, 19%)  Rifle Green
#342838  rgb(52, 40, 56)  hsl(285, 17%, 19%)  Jet
#282c38  rgb(40, 44, 56)  hsl(225, 17%, 19%)  Gunmetal
#38282c  rgb(56, 40, 44)  hsl(345, 17%, 19%)  Licorice