#B9AB2C color
The hex color #B9AB2C is a moderate yellow.
In the RGB color model it is made of 72.5% red, 67.1% green and 17.3% blue (185, 171, 44).
Its hue angle is 54°, with 62% saturation and 45% lightness. For print, the CMYK equivalent is 0% cyan, 8% magenta, 76% yellow and 27% black.
The closest named color is Greenfinch (#BDA928), a difference of 1.7 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 8.92:1).
#B9AB2C color codes
| HEX | #B9AB2C | |
|---|---|---|
| RGB | rgb(185, 171, 44) | |
| RGB percent | rgb(72.5%, 67.1%, 17.3%) | |
| HSL | hsl(54, 62%, 45%) | |
| HSV / HSB | hsv(54, 76%, 73%) | |
| CMYK | cmyk(0%, 8%, 76%, 27%) | |
| CIE LAB | lab(69.2, -8.77, 62.49) | |
| CIE LCH | lch(69.2, 63.1, 97.99) | |
| CIE XYZ | xyz(35.027, 39.623, 8.185) | |
| Decimal | 12167980 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #B9AB2C, based on their position on the color wheel.
Complementary
The color opposite on the color wheel (180°). Strongest contrast.
Analogous
Neighbors 30° either side. Calm, natural combinations.
Split complementary
The two colors next to the complement (150° and 210°).
Triadic
Three colors evenly spaced, 120° apart.
Tetradic (square)
Four colors 90° apart.
Shades, tints and tones
Shades (darker, mixed with black)
Tints (lighter, mixed with white)
Tones (mixed with gray)
Contrast and accessibility
| Text on #B9AB2C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 8.92:1 | Pass | Pass | Pass |
| Sample text | 2.35:1 | Fail | Fail | Fail |
| #B9AB2C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.35:1 | Fail | Fail | Fail |
| Sample text | 8.92:1 | Pass | Pass | Pass |
WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.
Color blindness simulation
How #B9AB2C looks to people with the most common types of color vision deficiency.
#bba510Protanopia
no red cones#bfac35Deuteranopia
no green cones#c79f93Tritanopia
no blue cones#a9a9a9Achromatopsia
no color vision
CSS examples
.background { background-color: #b9ab2c; }
.text { color: #b9ab2c; }
.border { border: 2px solid #b9ab2c; }
.transparent { background-color: rgb(185 171 44 / 50%); }
.gradient { background: linear-gradient(to right, #b9ab2c, #81b92c); }
Similar colors
#bda928Greenfinch#bea932Hey Pesto#c1b23ePesto#bfac05Muddy Yellow#b5a642Brass#aea132Martian#c6aa2bHippie Trail#aaaa00Honey and Thyme
Closest common color name: Metallic Gold.
Questions
- What color is #B9AB2C?
- #B9AB2C is a moderate yellow, closest to the named color Greenfinch. It belongs to the yellow family of colors.
- What is the RGB value of #B9AB2C?
- The RGB value is 185, 171, 44: 185 red, 171 green and 44 blue on a 0 to 255 scale.
- What is the complementary color of #B9AB2C?
- The complementary color is #2C3AB9, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #B9AB2C?
- Black text. Black text has a contrast ratio of 8.92:1 and white text 2.35:1. WCAG asks for at least 4.5:1 for normal text.