#A5AA7F color

#A5AA7F rgb(165, 170, 127)
Shades of yellow

The hex color #A5AA7F is a grayish yellow.

In the RGB color model it is made of 64.7% red, 66.7% green and 49.8% blue (165, 170, 127).

Its hue angle is 67°, with 20% saturation and 58% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 25% yellow and 33% black.

The closest named color is Cardamom (#AAAA77), a difference of 2.7 ΔE, a small difference.

Black text is the more readable choice on this background (contrast 8.66:1).

#A5AA7F color codes

HEX#A5AA7F
RGBrgb(165, 170, 127)
RGB percentrgb(64.7%, 66.7%, 49.8%)
HSLhsl(67, 20%, 58%)
HSV / HSBhsv(67, 25%, 67%)
CMYKcmyk(3%, 0%, 25%, 33%)
CIE LABlab(68.23, -9.08, 21.64)
CIE LCHlch(68.23, 23.47, 112.77)
CIE XYZxyz(33.722, 38.281, 25.687)
Decimal10857087
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #A5AA7F, 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 #A5AA7FRatioAAAAAAA large
Sample text8.66:1PassPassPass
Sample text2.43:1FailFailFail
#A5AA7F as text onRatioAAAAAAA large
Sample text2.43:1FailFailFail
Sample text8.66: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 #A5AA7F looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #a5aa7f; }
.text { color: #a5aa7f; }
.border { border: 2px solid #a5aa7f; }
.transparent { background-color: rgb(165 170 127 / 50%); }
.gradient { background: linear-gradient(to right, #a5aa7f, #90aa7f); }
Background
Text color
Border

Similar colors

Questions

What color is #A5AA7F?
#A5AA7F is a grayish yellow, closest to the named color Cardamom. It belongs to the yellow family of colors.
What is the RGB value of #A5AA7F?
The RGB value is 165, 170, 127: 165 red, 170 green and 127 blue on a 0 to 255 scale.
What is the complementary color of #A5AA7F?
The complementary color is #847FAA, found by rotating the hue 180° on the color wheel.
Is black or white text better on #A5AA7F?
Black text. Black text has a contrast ratio of 8.66:1 and white text 2.43:1. WCAG asks for at least 4.5:1 for normal text.