#9FA002

#9fa002 ≈ Brass

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

#9fa002 is a color from the yellow family, with low lightness and strong saturation. In the RGB model it is made of 62.35% red, 62.75% green and 0.78% blue; printed in CMYK it uses 0.62% cyan, 0% magenta, 98.75% yellow and 37.25% black. Its hue angle is 60.38°, with 97.53% saturation and 31.76% 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 corporate identities. Black text on this color reaches a contrast ratio of 7.5:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 6.43.

Description generated from the measured properties of this color.

Conversions of #9fa002 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.3252

Readable text 2.8:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.5:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9a9a9a ≈ 0.003% of males
Achromatomaly #9c9d7a ≈ 0.001% of males
Protanopia #ae9800 ≈ 1.01% of males
Deuteranopia #af9c1c ≈ 1.27% of males
Tritanopia #ab9588 ≈ 0.0001% of males
Protanomaly #a89c00 ≈ 1.08% of males
Deuteranomaly #a99e14 ≈ 4.63% of males
Tritanomaly #a6996b ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-9fa002 {
  color: #9fa002;
}
Background
.bg-9fa002 {
  background-color: #9fa002;
  color: #000000;
}
Border
.border-9fa002 {
  border: 2px solid #9fa002;
}
CSS variables
:root {
  --color-primary: #9fa002;
  --color-primary-rgb: 159 160 2;
  --color-primary-hsl: 60 98% 32%;
}
Gradient
.gradient-9fa002 {
  background: linear-gradient(135deg, #9fa002, #50a002);
}
Colored shadow
.shadow-9fa002 {
  box-shadow: 0 8px 24px rgb(159 160 2 / 0.35);
}

Brass
#9fa002  rgb(159, 160, 2)  hsl(60, 98%, 32%)  Brass
#0302a0  rgb(3, 2, 160)  hsl(240, 98%, 32%)  Zaffre
#029fa0  rgb(2, 159, 160)  hsl(180, 98%, 32%)  Light Sea Green
#a0029f  rgb(160, 2, 159)  hsl(300, 98%, 32%)  Dark Magenta