hexcolors

#AFC20A

Closest named color: yellowgreen

About this color

#AFC20A is a vivid yellow color. In RGB it is 175, 194, 10, and its closest named color is yellowgreen. Text in black is easiest to read on it, with a contrast ratio of 10.54: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 #AFC20A?

Contrast against white and black text.

Aa Sample
1.99:1 with white text
Fails WCAG contrast
Aa Sample
10.54: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 #AFC20A

Ready-made pairings from the color wheel.

Complementary

Split complementary

Explore the color wheel · More colors that go with yellowgreen

How it looks with color blindness

Simulated for common types.

Normal
#AFC20A
Protanopia
#D0B700
Deuteranopia
#CFB928
Tritanopia
#BBB6A5

Test an image

Copy the code

CSS, Sass and Tailwind.

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

Similar colors

Nearby colors you might prefer.

Common questions

What is the RGB value of #AFC20A?

#AFC20A is rgb(175, 194, 10).

What is the closest named color to #AFC20A?

The closest CSS named color is yellowgreen (#9ACD32).

What color goes well with #AFC20A?

Its complementary color is #1D0AC2. Analogous colors at #C2790A and #53C20A also work well.

Should I use white or black text on #AFC20A?

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

Use this color anywhere

Data, embeds and tools.

Get #AFC20A as JSON

Embed a color swatch on your site

Add opacity to this color

Pick a different color