#9FA72F

#9fa72f ≈ Brass

  • yellow
  • Lightness: medium
  • Saturation: moderate
  • Warm

#9fa72f is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 62.35% red, 65.49% green and 18.43% blue; printed in CMYK it uses 4.79% cyan, 0% magenta, 71.86% yellow and 34.51% black. Its hue angle is 64°, with 56.07% saturation and 41.96% 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 8.04:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 6.49.

Description generated from the measured properties of this color.

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

Readable text 2.61:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 8.04:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #a0a0a0 ≈ 0.003% of males
Achromatomaly #a0a382 ≈ 0.001% of males
Protanopia #b49f19 ≈ 1.01% of males
Deuteranopia #b3a138 ≈ 1.27% of males
Tritanopia #aa9d90 ≈ 0.0001% of males
Protanomaly #aca224 ≈ 1.08% of males
Deuteranomaly #aca435 ≈ 4.63% of males
Tritanomaly #a6a175 ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-9fa72f {
  color: #9fa72f;
}
Background
.bg-9fa72f {
  background-color: #9fa72f;
  color: #000000;
}
Border
.border-9fa72f {
  border: 2px solid #9fa72f;
}
CSS variables
:root {
  --color-primary: #9fa72f;
  --color-primary-rgb: 159 167 47;
  --color-primary-hsl: 64 56% 42%;
}
Gradient
.gradient-9fa72f {
  background: linear-gradient(135deg, #9fa72f, #63a72f);
}
Colored shadow
.shadow-9fa72f {
  box-shadow: 0 8px 24px rgb(159 167 47 / 0.35);
}

Brass
#9fa72f  rgb(159, 167, 47)  hsl(64, 56%, 42%)  Brass
#372fa7  rgb(55, 47, 167)  hsl(244, 56%, 42%)  Egyptian Blue
#2f9fa7  rgb(47, 159, 167)  hsl(184, 56%, 42%)  Cadet Blue
#a72f9f  rgb(167, 47, 159)  hsl(304, 56%, 42%)  Purpureus