Lucky color: hex code #AB9A1C

#AB9A1C rgb(171, 154, 28)
Shades of yellow

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
RGBrgb(171, 154, 28)
RGB percentrgb(67.1%, 60.4%, 11%)
HSLhsl(53, 72%, 39%)
HSV / HSBhsv(53, 84%, 67%)
CMYKcmyk(0%, 10%, 84%, 33%)
CIE LABlab(63.22, -6.57, 61.59)
CIE LCHlch(63.22, 61.94, 96.09)
CIE XYZxyz(28.561, 31.854, 5.742)
Decimal11246108
Short hexNone (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 #AB9A1CRatioAAAAAAA large
Sample text7.37:1PassPassPass
Sample text2.85:1FailFailFail
#AB9A1C as text onRatioAAAAAAA large
Sample text2.85:1FailFailFail
Sample text7.37:1PassPassPass

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.

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); }
Background
Text color
Border

Similar colors

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.