#42A166

#42a166 ≈ Shamrock Green

  • green
  • Lightness: medium
  • Saturation: moderate
  • Balanced

#42a166 is a color from the green family, with medium lightness and moderate saturation. In the RGB model it is made of 25.88% red, 63.14% green and 40% blue; printed in CMYK it uses 59.01% cyan, 0% magenta, 36.65% yellow and 36.86% black. Its hue angle is 142.74°, with 41.85% saturation and 44.51% 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 brand accents. Black text on this color reaches a contrast ratio of 6.52:1 (WCAG AA). The closest named color is Shamrock Green (#009e60), ΔE 3.47.

Description generated from the measured properties of this color.

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

Readable text 3.22:1 AA ✕ AA Large ✓ AAA ✕ AAA Large ✕
Readable text 6.52:1 AA ✓ AA Large ✓ AAA ✕ AAA Large ✓

Achromatopsia #8f8f8f ≈ 0.003% of males
Achromatomaly #789781 ≈ 0.001% of males
Protanopia #a19562 ≈ 1.01% of males
Deuteranopia #948c6a ≈ 1.27% of males
Tritanopia #249f92 ≈ 0.0001% of males
Protanomaly #859a64 ≈ 1.08% of males
Deuteranomaly #7b9568 ≈ 4.63% of males
Tritanomaly #32a083 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-42a166 {
  color: #42a166;
}
Background
.bg-42a166 {
  background-color: #42a166;
  color: #000000;
}
Border
.border-42a166 {
  border: 2px solid #42a166;
}
CSS variables
:root {
  --color-primary: #42a166;
  --color-primary-rgb: 66 161 102;
  --color-primary-hsl: 143 42% 45%;
}
Gradient
.gradient-42a166 {
  background: linear-gradient(135deg, #42a166, #42a196);
}
Colored shadow
.shadow-42a166 {
  box-shadow: 0 8px 24px rgb(66 161 102 / 0.35);
}

Shamrock Green
#42a166  rgb(66, 161, 102)  hsl(143, 42%, 45%)  Shamrock Green
#a1427d  rgb(161, 66, 125)  hsl(323, 42%, 45%)  Deep Plum
#6642a1  rgb(102, 66, 161)  hsl(263, 42%, 45%)  Purple Heart
#a16642  rgb(161, 102, 66)  hsl(23, 42%, 45%)  Sienna