#9FA271

#9fa271 ≈ Moss Green

  • yellow
  • Lightness: medium
  • Saturation: muted
  • Warm

#9fa271 is a color from the yellow family, with medium lightness and muted saturation. In the RGB model it is made of 62.35% red, 63.53% green and 44.31% blue; printed in CMYK it uses 1.85% cyan, 0% magenta, 30.25% yellow and 36.47% black. Its hue angle is 63.67°, with 20.85% saturation and 53.92% lightness in HSL. It is a warm color, often associated with optimism, attention and joy. Designers typically use it for highlights and warnings, children's products and brand accents. Black text on this color reaches a contrast ratio of 7.88:1 (WCAG AAA). The closest named color is Moss Green (#8a9a5b), ΔE 5.82.

Description generated from the measured properties of this color.

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

Readable text 2.66:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.88:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9e9e9e ≈ 0.003% of males
Achromatomaly #9fa08e ≈ 0.001% of males
Protanopia #a99e6e ≈ 1.01% of males
Deuteranopia #aa9f73 ≈ 1.27% of males
Tritanopia #a59c95 ≈ 0.0001% of males
Protanomaly #a59f6f ≈ 1.08% of males
Deuteranomaly #a6a072 ≈ 4.63% of males
Tritanomaly #a39f88 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-9fa271 {
  color: #9fa271;
}
Background
.bg-9fa271 {
  background-color: #9fa271;
  color: #000000;
}
Border
.border-9fa271 {
  border: 2px solid #9fa271;
}
CSS variables
:root {
  --color-primary: #9fa271;
  --color-primary-rgb: 159 162 113;
  --color-primary-hsl: 64 21% 54%;
}
Gradient
.gradient-9fa271 {
  background: linear-gradient(135deg, #9fa271, #86a271);
}
Colored shadow
.shadow-9fa271 {
  box-shadow: 0 8px 24px rgb(159 162 113 / 0.35);
}

Moss Green
#9fa271  rgb(159, 162, 113)  hsl(64, 21%, 54%)  Moss Green
#7471a2  rgb(116, 113, 162)  hsl(244, 21%, 54%)  Purple Mountain Majesty
#719fa2  rgb(113, 159, 162)  hsl(184, 21%, 54%)  Cadet Blue
#a2719f  rgb(162, 113, 159)  hsl(304, 21%, 54%)  Purple Mountain Majesty