#AAAF82 color

#AAAF82 rgb(170, 175, 130)
Shades of yellow

The hex color #AAAF82 is a grayish yellow.

In the RGB color model it is made of 66.7% red, 68.6% green and 51% blue (170, 175, 130).

Its hue angle is 67°, with 22% saturation and 60% lightness. For print, the CMYK equivalent is 3% cyan, 0% magenta, 26% yellow and 31% 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 9.16:1).

#AAAF82 color codes

HEX#AAAF82
RGBrgb(170, 175, 130)
RGB percentrgb(66.7%, 68.6%, 51%)
HSLhsl(67, 22%, 60%)
HSV / HSBhsv(67, 26%, 69%)
CMYKcmyk(3%, 0%, 26%, 31%)
CIE LABlab(70.05, -9.35, 22.55)
CIE LCHlch(70.05, 24.41, 112.51)
CIE XYZxyz(35.937, 40.818, 27.1)
Decimal11186050
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #AAAF82, 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 #AAAF82RatioAAAAAAA large
Sample text9.16:1PassPassPass
Sample text2.29:1FailFailFail
#AAAF82 as text onRatioAAAAAAA large
Sample text2.29:1FailFailFail
Sample text9.16: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 #AAAF82 looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #aaaf82; }
.text { color: #aaaf82; }
.border { border: 2px solid #aaaf82; }
.transparent { background-color: rgb(170 175 130 / 50%); }
.gradient { background: linear-gradient(to right, #aaaf82, #93af82); }
Background
Text color
Border

Similar colors

Questions

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