#AB9F2D

#ab9f2d ≈ Brass

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

#ab9f2d is a color from the yellow family, with medium lightness and moderate saturation. In the RGB model it is made of 67.06% red, 62.35% green and 17.65% blue; printed in CMYK it uses 0% cyan, 7.02% magenta, 73.68% yellow and 32.94% black. Its hue angle is 54.29°, with 58.33% saturation and 42.35% 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.73:1 (WCAG AAA). The closest named color is Brass (#b5a642), ΔE 2.96.

Description generated from the measured properties of this color.

Conversions of #ab9f2d 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.3364

Readable text 2.72:1 AA ✕ AA Large ✕ AAA ✕ AAA Large ✕
Readable text 7.73:1 AA ✓ AA Large ✓ AAA ✓ AAA Large ✓

Achromatopsia #9d9d9d ≈ 0.003% of males
Achromatomaly #a39e7f ≈ 0.001% of males
Protanopia #ae9a18 ≈ 1.01% of males
Deuteranopia #b19f35 ≈ 1.27% of males
Tritanopia #b89489 ≈ 0.0001% of males
Protanomaly #ad9c22 ≈ 1.08% of males
Deuteranomaly #af9f32 ≈ 4.63% of males
Tritanomaly #b3986f ≈ 0.0002% of males
Simulate on your own image

Text in this color

Background in this color

Border in this color

Text color
.text-ab9f2d {
  color: #ab9f2d;
}
Background
.bg-ab9f2d {
  background-color: #ab9f2d;
  color: #000000;
}
Border
.border-ab9f2d {
  border: 2px solid #ab9f2d;
}
CSS variables
:root {
  --color-primary: #ab9f2d;
  --color-primary-rgb: 171 159 45;
  --color-primary-hsl: 54 58% 42%;
}
Gradient
.gradient-ab9f2d {
  background: linear-gradient(135deg, #ab9f2d, #78ab2d);
}
Colored shadow
.shadow-ab9f2d {
  box-shadow: 0 8px 24px rgb(171 159 45 / 0.35);
}

Brass
#ab9f2d  rgb(171, 159, 45)  hsl(54, 58%, 42%)  Brass
#2d39ab  rgb(45, 57, 171)  hsl(234, 58%, 42%)  Persian Blue
#2dab9f  rgb(45, 171, 159)  hsl(174, 58%, 42%)  Light Sea Green
#9f2dab  rgb(159, 45, 171)  hsl(294, 58%, 42%)  Dark Orchid