#2C7D12

#2c7d12 ≈ Green

  • green
  • Lightness: low
  • Saturation: moderate
  • Balanced

#2c7d12 is a color from the green family, with low lightness and moderate saturation. In the RGB model it is made of 17.25% red, 49.02% green and 7.06% blue; printed in CMYK it uses 64.8% cyan, 0% magenta, 85.6% yellow and 50.98% black. Its hue angle is 105.42°, with 74.83% saturation and 28.04% lightness in HSL. It sits between warm and cool, and is often associated with nature, health and balance. Designers typically use it for eco-friendly brands, health and wellness and luxury branding. White text on this color reaches a contrast ratio of 5.19:1 (WCAG AA). The closest named color is Green (#008000), ΔE 2.44.

Description generated from the measured properties of this color.

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

Readable text 5.19:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓
Readable text 4.05:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕

Achromatopsia #6d6d6d ≈ 0.003% of males
Achromatomaly #5a7456 ≈ 0.001% of males
Protanopia #817100 ≈ 1.01% of males
Deuteranopia #776a20 ≈ 1.27% of males
Tritanopia #20796a ≈ 0.0001% of males
Protanomaly #697601 ≈ 1.08% of males
Deuteranomaly #61721b ≈ 4.63% of males
Tritanomaly #267a54 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-2c7d12 {
  color: #2c7d12;
}
Background
.bg-2c7d12 {
  background-color: #2c7d12;
  color: #ffffff;
}
Border
.border-2c7d12 {
  border: 2px solid #2c7d12;
}
CSS variables
:root {
  --color-primary: #2c7d12;
  --color-primary-rgb: 44 125 18;
  --color-primary-hsl: 105 75% 28%;
}
Gradient
.gradient-2c7d12 {
  background: linear-gradient(135deg, #2c7d12, #127d2d);
}
Colored shadow
.shadow-2c7d12 {
  box-shadow: 0 8px 24px rgb(44 125 18 / 0.35);
}

Green
#2c7d12  rgb(44, 125, 18)  hsl(105, 75%, 28%)  Green
#63127d  rgb(99, 18, 125)  hsl(285, 75%, 28%)  Eminence
#122c7d  rgb(18, 44, 125)  hsl(225, 75%, 28%)  Smalt
#7d122c  rgb(125, 18, 44)  hsl(345, 75%, 28%)  Claret