hexcolors

#AFA16A

Closest named color: darkkhaki

About this color

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

What does yellow mean?

Copy the value you need

Click any row to copy it.

HEX
RGB
HSL
HSV
CMYK
LAB
OKLCH

Is text readable on #AFA16A?

Contrast against white and black text.

Aa Sample
2.58:1 with white text
Fails WCAG contrast
Aa Sample
8.13: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 #AFA16A

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
#AFA16A
Protanopia
#AC9E66
Deuteranopia
#AFA36C
Tritanopia
#B99993

Test an image

Copy the code

CSS, Sass and Tailwind.

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

Similar colors

Nearby colors you might prefer.

Common questions

What is the RGB value of #AFA16A?

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

What is the closest named color to #AFA16A?

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

What color goes well with #AFA16A?

Its complementary color is #6A78AF. Analogous colors at #AF7F6A and #9BAF6A also work well.

Should I use white or black text on #AFA16A?

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

Use this color anywhere

Data, embeds and tools.

Get #AFA16A as JSON

Embed a color swatch on your site

Add opacity to this color

Pick a different color