hexcolors

#A1AF6A

Closest named color: darkkhaki

About this color

#A1AF6A is a green color. In RGB it is 161, 175, 106, and its closest named color is darkkhaki. Text in black is easiest to read on it, with a contrast ratio of 8.86:1.

What does green mean?

Copy the value you need

Click any row to copy it.

HEX
RGB
HSL
HSV
CMYK
LAB
OKLCH

Is text readable on #A1AF6A?

Contrast against white and black text.

Aa Sample
2.37:1 with white text
Fails WCAG contrast
Aa Sample
8.86:1 with black text
Passes AAA for all text

Test your own pair

Make it lighter or darker

Shades keep the same hue. Click one to open the closest color page.

Build a full 50 to 950 scale

Softer versions (tints)

Mixed with white.

Muted versions (tones)

Mixed with gray.

Colors that go with #A1AF6A

Ready-made pairings from the color wheel.

Complementary

Split complementary

Explore the color wheel · More colors that go with darkkhaki

How it looks with color blindness

Simulated for common types.

Normal
#A1AF6A
Protanopia
#B7A865
Deuteranopia
#B6A96D
Tritanopia
#A7A89E

Test an image

Copy the code

CSS, Sass and Tailwind.

color: #a1af6a;
background-color: #a1af6a;
--brand: #a1af6a;
$brand: #a1af6a;
bg-[#a1af6a] text-[#a1af6a] border-[#a1af6a]

Similar colors

Nearby colors you might prefer.

Common questions

What is the RGB value of #A1AF6A?

#A1AF6A is rgb(161, 175, 106).

What is the closest named color to #A1AF6A?

The closest CSS named color is darkkhaki (#BDB76B).

What color goes well with #A1AF6A?

Its complementary color is #786AAF. Analogous colors at #AF9B6A and #7FAF6A also work well.

Should I use white or black text on #A1AF6A?

Black text is easier to read, with a contrast ratio of 8.86:1.

Use this color anywhere

Data, embeds and tools.

Get #A1AF6A as JSON

Embed a color swatch on your site

Add opacity to this color

Pick a different color