Lucky color: hex code #AB9A1C
Lucky has the hex code #AB9A1C. It is a moderate yellow.
In the RGB color model it is made of 67.1% red, 60.4% green and 11% blue (171, 154, 28).
Its hue angle is 53°, with 72% saturation and 39% lightness. For print, the CMYK equivalent is 0% cyan, 10% magenta, 84% yellow and 33% black.
Black text is the more readable choice on this background (contrast 7.37:1).
Lucky (#AB9A1C) color codes
| HEX | #AB9A1C | |
|---|---|---|
| RGB | rgb(171, 154, 28) | |
| RGB percent | rgb(67.1%, 60.4%, 11%) | |
| HSL | hsl(53, 72%, 39%) | |
| HSV / HSB | hsv(53, 84%, 67%) | |
| CMYK | cmyk(0%, 10%, 84%, 33%) | |
| CIE LAB | lab(63.22, -6.57, 61.59) | |
| CIE LCH | lch(63.22, 61.94, 96.09) | |
| CIE XYZ | xyz(28.561, 31.854, 5.742) | |
| Decimal | 11246108 | |
| Short hex | None (no 3-digit form) |
Color harmonies
Colors that go with Lucky, 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 #AB9A1C | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 7.37:1 | Pass | Pass | Pass |
| Sample text | 2.85:1 | Fail | Fail | Fail |
| #AB9A1C as text on | Ratio | AA | AAA | AA large |
|---|---|---|---|---|
| Sample text | 2.85:1 | Fail | Fail | Fail |
| Sample text | 7.37: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 #AB9A1C looks to people with the most common types of color vision deficiency.
#aa9500Protanopia
no red cones#ae9c27Deuteranopia
no green cones#b98e84Tritanopia
no blue cones#999999Achromatopsia
no color vision
CSS examples
.background { background-color: #ab9a1c; }
.text { color: #ab9a1c; }
.border { border: 2px solid #ab9a1c; }
.transparent { background-color: rgb(171 154 28 / 50%); }
.gradient { background: linear-gradient(to right, #ab9a1c, #75ab1c); }
Similar colors
#aa9922Greedy Gecko#aea132Martian#b29700Sunken Gold#b5a642Brass#bda928Greenfinch#b59410Faint Gold#bea932Hey Pesto#999911Papyrus
Closest common color name: Metallic Gold.
See #AB9A1C on its hex code page
Questions
- What color is #AB9A1C?
- #AB9A1C is a moderate yellow known as Lucky. It belongs to the yellow family of colors.
- What is the RGB value of Lucky?
- The RGB value is 171, 154, 28: 171 red, 154 green and 28 blue on a 0 to 255 scale.
- What is the complementary color of Lucky?
- The complementary color is #1C2DAB, found by rotating the hue 180° on the color wheel.
- Is black or white text better on #AB9A1C?
- Black text. Black text has a contrast ratio of 7.37:1 and white text 2.85:1. WCAG asks for at least 4.5:1 for normal text.