hexcolors

#AD9F1F

Closest named color: darkgoldenrod

About this color

#AD9F1F is a yellow color. In RGB it is 173, 159, 31, and its closest named color is darkgoldenrod. Text in black is easiest to read on it, with a contrast ratio of 7.76: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 #AD9F1F?

Contrast against white and black text.

Aa Sample
2.71:1 with white text
Fails WCAG contrast
Aa Sample
7.76: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 #AD9F1F

Ready-made pairings from the color wheel.

Complementary

Split complementary

Explore the color wheel · More colors that go with darkgoldenrod

How it looks with color blindness

Simulated for common types.

Normal
#AD9F1F
Protanopia
#AE9A00
Deuteranopia
#B3A02A
Tritanopia
#BB9388

Test an image

Copy the code

CSS, Sass and Tailwind.

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

Similar colors

Nearby colors you might prefer.

Common questions

What is the RGB value of #AD9F1F?

#AD9F1F is rgb(173, 159, 31).

What is the closest named color to #AD9F1F?

The closest CSS named color is darkgoldenrod (#B8860B).

What color goes well with #AD9F1F?

Its complementary color is #1F2DAD. Analogous colors at #AD581F and #74AD1F also work well.

Should I use white or black text on #AD9F1F?

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

Use this color anywhere

Data, embeds and tools.

Get #AD9F1F as JSON

Embed a color swatch on your site

Add opacity to this color

Pick a different color