#AB9C2E color
The hex color #AB9C2E is a moderate yellow.
In the RGB color model it is made of 67.1% red, 61.2% green and 18% blue (171, 156, 46).
Its hue angle is 53°, with 58% saturation and 43% lightness. For print, the CMYK equivalent is 0% cyan, 9% magenta, 73% yellow and 33% black.
The closest named color is Greedy Gecko (#AA9922), a difference of 1.4 ΔE, which is barely visible.
Black text is the more readable choice on this background (contrast 7.53:1).
#AB9C2E color codes
| HEX | #AB9C2E | |
|---|---|---|
| RGB | rgb(171, 156, 46) | |
| RGB percent | rgb(67.1%, 61.2%, 18%) | |
| HSL | hsl(53, 58%, 43%) | |
| HSV / HSB | hsv(53, 73%, 67%) | |
| CMYK | cmyk(0%, 9%, 73%, 33%) | |
| CIE LAB | lab(63.86, -6.94, 56.27) | |
| CIE LCH | lch(63.86, 56.7, 97.03) | |
| CIE XYZ | xyz(29.178, 32.633, 7.346) | |
| Decimal | 11246638 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with #AB9C2E, 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 #AB9C2E | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.53:1 | Pass | Pass | Pass |
| Sample text | 2.79:1 | Fail | Fail | Fail |
| #AB9C2E as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.79:1 | Fail | Fail | Fail |
| Sample text | 7.53: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 #AB9C2E looks to people with the most common types of color vision deficiency.
#ab971bProtanopia
no red cones#af9d35Deuteranopia
no green cones#b89186Tritanopia
no blue cones#9b9b9bAchromatopsia
no color vision
CSS examples
.background { background-color: #ab9c2e; }
.text { color: #ab9c2e; }
.border { border: 2px solid #ab9c2e; }
.transparent { background-color: rgb(171 156 46 / 50%); }
.gradient { background: linear-gradient(to right, #ab9c2e, #7bab2e); }
Similar colors
#aa9922Greedy Gecko#aea132Martian#ab9a1cLucky#b5a642Brass#b3a74bPickled#b29700Sunken Gold#bea932Hey Pesto#bda928Greenfinch
Closest common color name: Metallic Gold.
Questions
- What color is #AB9C2E?
- #AB9C2E is a moderate yellow, closest to the named color Greedy Gecko. It belongs to the yellow family of colors.
- What is the RGB value of #AB9C2E?
- The RGB value is 171, 156, 46: 171 red, 156 green and 46 blue on a 0 to 255 scale.
- What is the complementary color of #AB9C2E?
- The complementary color is #2E3DAB, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AB9C2E?
- Black text. Black text has a contrast ratio of 7.53:1 and white text 2.79:1. WCAG asks for at least 4.5:1 for normal text.