Close to Citron

#AFA402

#AFA402 is a dark, vivid yellow, close to the color Citron. In RGB it’s made of 68.6% red, 64.3% green, and 0.8% blue. Its hue is 56°, with 98% saturation and 35% lightness, so it reads as a warm color. Black text sits best on top of it.

Make a palette Open in converter

Color codes

Tints, shades & tones

Tints add white, shades add black, tones add gray. Tap any one to open its page.

Tints

Shades

Tones

Color harmonies

Combinations from the color wheel, built around #AFA402.

Contrast & readability

WCAG contrast ratios for text. 4.5:1 is the minimum for body text, 3:1 for large text.

Aa

White text on this color

2.58:1 Fail
Aa

Black text on this color

8.13:1 AAA
Aa

This color as text on white

2.58:1 Fail
Aa

This color as text on black

8.13:1 AAA

How it looks with color blindness

About 1 in 12 men and 1 in 200 women see color differently. Here’s #AFA402 as they’d see it.

Typical vision#AFA402
ProtanopiaNo red cones (about 1% of men)
DeuteranopiaNo green cones (the most common, about 1% of men)
TritanopiaNo blue cones (rare)
AchromatopsiaNo color vision (very rare)

#AFA402 in use

New

A headline in this color

Body text stays dark for reading; the color carries buttons, links, and accents.

Primary buttonText link →

On a dark background

Get started
Gradient to its complement

Similar colors

Questions about #AFA402

What color is #AFA402?

#AFA402 is a dark, vivid yellow, close to the color Citron. In RGB it’s made of 68.6% red, 64.3% green, and 0.8% blue. Its hue is 56°, with 98% saturation and 35% lightness, so it reads as a warm color. Black text sits best on top of it.

What is #AFA402 in RGB?

#AFA402 is rgb(175, 164, 2): 175 red, 164 green, and 2 blue on a 0–255 scale.

What is #AFA402 in CMYK?

Roughly cmyk(0, 6, 99, 31). Print results depend on paper and press, so proof it before a big print run.

What Pantone is closest to #AFA402?

PANTONE 104 C is the closest match in our list. Screen colors and ink never match perfectly; check a physical Pantone guide.

What color goes with #AFA402?

Its complement #B08FF8 gives the strongest contrast. For something calmer, try its analogous neighbors, or its own tints and shades above.

Browse all color swatches