#9FA40F

#9fa40f ≈ Brass

  • yellow
  • Lightness: low
  • Saturation: strong
  • Warm

#9fa40f is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 62.35% red, 64.31% green and 5.88% blue; printed in CMYK it uses 3.05% cyan, 0% magenta, 90.85% yellow and 35.69% black. Its hue angle is 62.01°, with 83.24% saturation and 35.1% 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 call-to-action buttons. Black text on this color reaches a contrast ratio of 7.79:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 6.64.

Description generated from the measured properties of this color.

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

Readable text 2.7:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.79:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9e9e9e ≈ 0.003% of males
Achromatomaly #9ea07d ≈ 0.001% of males
Protanopia #b29c00 ≈ 1.01% of males
Deuteranopia #b29f23 ≈ 1.27% of males
Tritanopia #ab998b ≈ 0.0001% of males
Protanomaly #aa9f00 ≈ 1.08% of males
Deuteranomaly #aba11c ≈ 4.63% of males
Tritanomaly #a69e6f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-9fa40f {
  color: #9fa40f;
}
Background
.bg-9fa40f {
  background-color: #9fa40f;
  color: #000000;
}
Border
.border-9fa40f {
  border: 2px solid #9fa40f;
}
CSS variables
:root {
  --color-primary: #9fa40f;
  --color-primary-rgb: 159 164 15;
  --color-primary-hsl: 62 83% 35%;
}
Gradient
.gradient-9fa40f {
  background: linear-gradient(135deg, #9fa40f, #55a40f);
}
Colored shadow
.shadow-9fa40f {
  box-shadow: 0 8px 24px rgb(159 164 15 / 0.35);
}

Brass
#9fa40f  rgb(159, 164, 15)  hsl(62, 83%, 35%)  Brass
#140fa4  rgb(20, 15, 164)  hsl(242, 83%, 35%)  Zaffre
#0f9fa4  rgb(15, 159, 164)  hsl(182, 83%, 35%)  Cadet Blue
#a40f9f  rgb(164, 15, 159)  hsl(302, 83%, 35%)  Dark Magenta